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.
__init__ |
|
GetDate |
Returns the date. |
PyGetDate |
Return the date as a Python datetime.date object. |
SetDate |
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)
Parameters: |
|
---|
GetDate
(self)¶Returns the date.
Return type: | DateTime |
---|
PyGetDate
(self)¶Return the date as a Python datetime.date object.
Deprecated since version 4.0.1: Use GetDate instead.
SetDate
(self, date)¶Sets the date carried by the event, normally only used by the library internally.
Parameters: | date (wx.DateTime) – |
---|