The wx.adv.CalendarEvent class is used together with wx.adv.CalendarCtrl.
See also
Returns the week day on which the user clicked in |
|
Sets the week day carried by the event, normally only used by the library internally. |
See |
wx.adv.
CalendarEvent
(DateEvent)¶Possible constructors:
CalendarEvent() -> None
CalendarEvent(win : Window, dt : DateTime, type : EventType) -> None
The CalendarEvent class is used together with CalendarCtrl.
__init__
(self, *args, **kw)¶__init__ (self)
None
__init__ (self, win : Window, dt : DateTime, type : EventType)
win (wx.Window) –
dt (wx.DateTime) –
type (wx.EventType) –
None
GetWeekDay
(self)¶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.
DateTime.WeekDay
SetWeekDay
(self, day : DateTime.WeekDay)¶Sets the week day carried by the event, normally only used by the library internally.
day (DateTime.WeekDay) –
None
WeekDay
¶See GetWeekDay
and SetWeekDay