carbonkivy.uix.checkbox

Submodules

Attributes

UIX

filename

Classes

CCheckbox

CCheckbox is a custom checkbox widget that inherits from AdaptiveBehavior,

Package Contents

carbonkivy.uix.checkbox.UIX[source]
class carbonkivy.uix.checkbox.CCheckbox(**kwargs)[source]

Bases: carbonkivy.uix.icon.CIconCircular, carbonkivy.behaviors.StateFocusBehavior, kivy.uix.behaviors.ButtonBehavior

CCheckbox is a custom checkbox widget that inherits from AdaptiveBehavior, CIconCircular, BackgroundColorBehaviorCircular, StateFocusBehavior and ButtonBehavior.

active
on_touch_down(touch: kivy.input.providers.mouse.MouseMotionEvent) bool[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.checkbox.filename[source]