carbonkivy.uix.toggle

Submodules

Attributes

UIX

filename

Classes

CToggle

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.RelativeLayout

This mixin class provides Button behavior. Please see the button behaviors module documentation 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).

active
handle_size
handle_pos
role
animation = None
on_kv_post(base_widget)[source]
on_pos(*args) None[source]
on_active(*args) None[source]
on_toggle(*args) None[source]
on_touch_down(touch: kivy.input.providers.mouse.MouseMotionEvent) bool | None[source]

Receive a touch down event.

Parameters:
touch: MotionEvent class

Touch received. The touch is in parent coordinates. See relativelayout for a discussion on coordinate systems.

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]