.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.calendar
.. highlight:: python
.. _wx.lib.calendar.CalenDlg:
==========================================================================================================================================
|phoenix_title| **wx.lib.calendar.CalenDlg**
==========================================================================================================================================
A dialog with a calendar control.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

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