carbonkivy.uix.loading
Submodules
Attributes
Classes
Widget class. See module documentation for more information. |
|
Anchor layout class. See the module documentation for more information. |
Package Contents
- carbonkivy.uix.loading.UIX[source]
- class carbonkivy.uix.loading.CLoadingIndicator(**kwargs)[source]
Bases:
kivy.uix.widget.Widget,carbonkivy.behaviors.HierarchicalLayerBehavior,carbonkivy.behaviors.DeclarativeBehaviorWidget class. See module documentation for more information.
- Events:
- on_touch_down: (touch, )
Fired when a new touch event occurs. touch is the touch object.
- on_touch_move: (touch, )
Fired when an existing touch moves. touch is the touch object.
- on_touch_up: (touch, )
Fired when an existing touch disappears. touch is the touch object.
- on_kv_post: (base_widget, )
Fired after all the kv rules associated with the widget and all other widgets that are in any of those rules have had all their kv rules applied. base_widget is the base-most widget whose instantiation triggered the kv rules (i.e. the widget instantiated from Python, e.g.
MyWidget()).Changed in version 1.11.0.
Warning
Adding a __del__ method to a class derived from Widget with Python prior to 3.4 will disable automatic garbage collection for instances of that class. This is because the Widget class creates reference cycles, thereby preventing garbage collection.
Changed in version 1.0.9: Everything related to event properties has been moved to the
EventDispatcher. Event properties can now be used when constructing a simple class without subclassingWidget.Changed in version 1.5.0: The constructor now accepts on_* arguments to automatically bind callbacks to properties or events, as in the Kv language.
- class carbonkivy.uix.loading.CLoadingLayout(**kwargs)[source]
Bases:
carbonkivy.uix.anchorlayout.CAnchorLayout,carbonkivy.behaviors.HierarchicalLayerBehaviorAnchor layout class. See the module documentation for more information.
- on_touch_down(touch)[source]
Receive a touch down event.
- Parameters:
- touch:
MotionEventclass Touch received. The touch is in parent coordinates. See
relativelayoutfor a discussion on coordinate systems.
- touch:
- Returns:
bool If True, the dispatching of the touch event will stop. If False, the event will continue to be dispatched to the rest of the widget tree.
- on_touch_up(touch)[source]
Receive a touch up event. The touch is in parent coordinates.
See
on_touch_down()for more information.
- on_touch_move(touch)[source]
Receive a touch move event. The touch is in parent coordinates.
See
on_touch_down()for more information.
- carbonkivy.uix.loading.filename[source]