phoenix_title wx.lib.calendar.CalenDlg

A dialog with a calendar control.


class_hierarchy Class Hierarchy

Inheritance diagram for class CalenDlg:

super_classes Known Superclasses

wx.Dialog


method_summary Methods Summary

__init__

Default class constructor.

EvtComboBox

The month combobox event handler.

MouseClick

The mouse click event handler.

OnCancel

The Cancel event handler.

OnMonthSpin

The month spin control event handler.

OnOk

The OK event handler.

OnYrSpin

The year spin control event handler.

ResetDisplay

Reset the display.


api 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.