This event class holds information about a date change and is used together with wx.adv.DatePickerCtrl.
It also serves as a base class for wx.adv.CalendarEvent.
Returns the date. |
|
Return the date as a Python datetime.date object. |
|
Sets the date carried by the event, normally only used by the library internally. |
wx.adv.
DateEvent
(CommandEvent)¶Possible constructors:
DateEvent() -> None
DateEvent(win : Window, dt : DateTime, type : EventType) -> None
This event class holds information about a date change and is used together with DatePickerCtrl.
__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
GetDate
(self)¶Returns the date.
DateTime
PyGetDate
(self)¶Return the date as a Python datetime.date object.
SetDate
(self, date : DateTime)¶Sets the date carried by the event, normally only used by the library internally.
date (wx.DateTime) –
None