This Widget is based on Oleg Kozlov (xxblx) work.
garden install calendar_widget
Import the module with the following instruction:
from kivy.garden.calendar_widget import Calendar
And you'll be able to use the Calendar
widget.
See example for more infos.
- Place it in the Garden for real !
- PEP257 & better doc !
- Add a selection_color Property
- DatePicker - improvements
Please check COPYING file for the KivyCalendar project, the LICENSE was generated for the garden.
Oleg Kozlov created the first version of KivyCalendar.
Merged Pull Request from Anthony Lobko.
Merged Pull Request from alfred richardsn.
KivyCalendar placed into kivy.garden as calendar_widget with a refactor on Calendar Widget.
Félix Herbinet (fherbine)
2019
We can set foreground_color
and background_color
.
foreground_color
: ListProperty -- Basically fonts color.background_color
: ListProperty -- Background color.header_color
: ListProperty -- color for the month & year header labels.
Top arrows are considered as images and there sources can be change, with the following properties:
left_arrow_source
: StringProperty -- path for the left arrow.right_arrow_source
: StringProperty -- path for the right arrow.
active_date
is now considered as a property to be dispatch correctly.
locale
is use to change default system's locale for the widget.
left
/ right
Screenmanager's animation are now reversed.
- Temporary re-implemented class TimeEncoding() -- Python3 deprecated, to run correctly.
- Then fixing usage of locale for time formatting.
- Uses of .format() methods.
- Shortening and explicinting functions and methods.
- PEP8 Compatible.