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()
DateEvent(win, dt, type)
This event class holds information about a date change and is used together with DatePickerCtrl.
__init__
(self, *args, **kw)¶__init__ (self)
__init__ (self, win, dt, type)
win (wx.Window) –
dt (wx.DateTime) –
type (wx.EventType) –
GetDate
(self)¶Returns the date.
DateTime
PyGetDate
(self)¶Return the date as a Python datetime.date object.
SetDate
(self, date)¶Sets the date carried by the event, normally only used by the library internally.
date (wx.DateTime) –