jinks_widgets.date¶
This file contains the date number widget class.
Classes
Class defining the date number widget which shows the current date. |
|
|
Class defining the month widget which shows the current month. |
|
Class defining the week day widget which shows the current week day. |
- class jinks_widgets.date.DateNumber¶
Bases:
objectClass defining the date number widget which shows the current date.
- width: int = 3¶
- height: int = 3¶
- color = 'BWG'¶
- classmethod display(density, twelve_hour_format=False)¶
Ran by the jinks_core library to compute data and obtain the widget’s image.
- Return type:
<module ‘PIL.Image’ from ‘/usr/local/lib/python3.14/site-packages/PIL/Image.py’>
- class jinks_widgets.date.Month¶
Bases:
objectClass defining the month widget which shows the current month.
- width: int = 3¶
- height: int = 1¶
- color = 'BWG'¶
- classmethod display(density, twelve_hour_format=False)¶
Ran by the jinks_core library to compute data and obtain the widget’s image.
- Return type:
<module ‘PIL.Image’ from ‘/usr/local/lib/python3.14/site-packages/PIL/Image.py’>
- class jinks_widgets.date.WeekDay¶
Bases:
objectClass defining the week day widget which shows the current week day.
- width: int = 6¶
- height: int = 2¶
- color = 'BWG'¶
- classmethod display(density, twelve_hour_format=False)¶
Ran by the jinks_core library to compute data and obtain the widget’s image.
- Return type:
<module ‘PIL.Image’ from ‘/usr/local/lib/python3.14/site-packages/PIL/Image.py’>