CalendarEvent¶The CalendarEvent class is used together with CalendarCtrl.
See also
Methods Summary¶| __init__ | |
| GetWeekDay | Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler. |
| SetWeekDay | Sets the week day carried by the event, normally only used by the library internally. |
Class API¶The CalendarEvent class is used together with CalendarCtrl.
Possible constructors:
CalendarEvent()
CalendarEvent(win, dt, type)
Overloaded Implementations:
__init__ (self)
__init__ (self, win, dt, type)
| Parameters: |
|---|
Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler.
It doesn’t make sense to call this function in other handlers.
| Return type: | DateTime.WeekDay |
|---|
Sets the week day carried by the event, normally only used by the library internally.
| Parameters: | day (DateTime.WeekDay) – |
|---|
See GetWeekDay and SetWeekDay