carbonkivy.uix.focuscontainer

Submodules

Attributes

UIX

Classes

FocusContainer

Box layout class. See module documentation for more information.

Package Contents

carbonkivy.uix.focuscontainer.UIX[source]
class carbonkivy.uix.focuscontainer.FocusContainer(**kwargs)[source]

Bases: carbonkivy.behaviors.AdaptiveBehavior, carbonkivy.behaviors.BackgroundColorBehaviorRectangular, carbonkivy.behaviors.StateFocusBehavior, kivy.uix.boxlayout.BoxLayout, carbonkivy.behaviors.DeclarativeBehavior, carbonkivy.behaviors.HoverBehavior

Box layout class. See module documentation for more information.

on_touch_down(touch)[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.

on_touch_up(touch)[source]

Receive a touch up event. The touch is in parent coordinates.

See on_touch_down() for more information.