carbonkivy.behaviors.declarative_behavior

Follows the same declarative pattern as KivyMD’s Declarative Behavior.

See more at: KivyMD’s Declarative Behavior Github

Documentation at: https://kivymd.readthedocs.io/en/latest/behaviors/declarative/

Classes

DeclarativeBehavior

Implements the creation and addition of child widgets as declarative

Module Contents

class carbonkivy.behaviors.declarative_behavior.DeclarativeBehavior(*args, **kwargs)[source]

Implements the creation and addition of child widgets as declarative programming style.

id[source]

Widget ID.

id is an StringProperty and defaults to ‘’.

bind_update(*args, **kwargs) None[source]
get_ids() dict[source]

Returns a dictionary of widget IDs defined in Python code that is written in a declarative style.

register_element(*args) None[source]