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