carbonkivy.uix.toggle
Submodules
Attributes
Classes
This mixin class provides |
Package Contents
- carbonkivy.uix.toggle.UIX[source]
- class carbonkivy.uix.toggle.CToggle(**kwargs)[source]
Bases:
carbonkivy.behaviors.BackgroundColorBehaviorCircular,carbonkivy.behaviors.StateFocusBehavior,kivy.uix.behaviors.ButtonBehavior,carbonkivy.behaviors.DeclarativeBehavior,kivy.uix.relativelayout.RelativeLayoutThis mixin class provides
Buttonbehavior. Please see thebutton behaviors moduledocumentation for more information.- Events:
- on_press
Fired when the button is pressed.
- on_release
Fired when the button is released (i.e. the touch/click that pressed the button goes away).
- on_kv_post(base_widget)[source]
- on_touch_down(touch: kivy.input.providers.mouse.MouseMotionEvent) bool | None[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.
- carbonkivy.uix.toggle.filename[source]