wx.adv.DateEvent¶
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.
Class Hierarchy¶
Known Subclasses¶
Methods Summary¶
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. |
Properties Summary¶
Class API¶
- class wx.adv.DateEvent(CommandEvent)¶
Possible constructors:
DateEvent() -> None DateEvent(win, dt, type) -> None
This event class holds information about a date change and is used together with DatePickerCtrl.
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
- GetDate(self)¶
Returns the date.
- Return type:
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.
- Parameters:
date (wx.DateTime)
- Return type:
None
Properties¶