wx.lib.calendar.CalenDlg¶
A dialog with a calendar control.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
The month combobox event handler. |
|
The mouse click event handler. |
|
The Cancel event handler. |
|
The month spin control event handler. |
|
The OK event handler. |
|
The year spin control event handler. |
|
Reset the display. |
Class API¶
- class CalenDlg(wx.Dialog)¶
A dialog with a calendar control.
Methods¶
- __init__(self, parent, month=None, day=None, year=None)¶
Default class constructor.
- Parameters:
parent (wx.Window) – parent window. Must not be
None
;month (integer) – the month, if None the current day will be used
day (integer) – the day
year (integer) – the year
- EvtComboBox(self, event)¶
The month combobox event handler.
- MouseClick(self, evt)¶
The mouse click event handler.
- OnCancel(self, event)¶
The Cancel event handler.
- OnMonthSpin(self, event)¶
The month spin control event handler.
- OnOk(self, evt)¶
The OK event handler.
- OnYrSpin(self, event)¶
The year spin control event handler.
- ResetDisplay(self)¶
Reset the display.