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