carbonkivy.uix.datepicker
Submodules
Attributes
Classes
Box layout class. See module documentation for more information. |
|
Implements the creation and addition of child widgets as declarative |
|
This mixin class provides |
|
Box layout class. See module documentation for more information. |
Package Contents
- carbonkivy.uix.datepicker.UIX[source]
- class carbonkivy.uix.datepicker.CDatePicker(**kwargs)[source]
Bases:
carbonkivy.uix.boxlayout.CBoxLayout,carbonkivy.behaviors.ElevationBehaviorBox layout class. See module documentation for more information.
- update_pos(instance: kivy.uix.widget.Widget, *args) None[source]
- 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.
- class carbonkivy.uix.datepicker.CDatePickerCalendar(**kwargs)[source]
Bases:
carbonkivy.uix.gridlayout.CGridLayoutImplements the creation and addition of child widgets as declarative programming style.
- get_calendar_dates(year: str, month: str) None[source]
Get all dates for a 7x7 calendar grid including prev/next month dates
- select_date(selected_date, button)[source]
- class carbonkivy.uix.datepicker.CDatePickerDayButton(**kwargs)[source]
Bases:
carbonkivy.uix.button.CButton,carbonkivy.behaviors.SelectableBehaviorThis 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).
- class carbonkivy.uix.datepicker.CDatePickerHeader(**kwargs)[source]
Bases:
carbonkivy.uix.boxlayout.CBoxLayoutBox layout class. See module documentation for more information.
- carbonkivy.uix.datepicker.filename[source]