************ wx.DateEvent ************ Inheritance diagram for `wx.DateEvent`: | .. inheritance-diagram:: wx.DateEvent | Description =========== This event class holds information about a date change and is used together with `wx.DatePickerCtrl <../Widgets/wx.DatePickerCtrl.html>`_. It also serves as a base class for `wx.CalendarEvent`. Derived From ^^^^^^^^^^^^^ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetDate <#GetDate>`_ * `SetDate <#SetDate>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Date <#Date>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(win, dt, type) Constructor. **Parameters:** * `win` (`wx.Window <../Widgets/wx.Window.html>`_) * `dt` (`wx.DateTime <../Widgets/wx.DateTime.html>`_) * `type` (eventtype) | **Returns:** `wx.DateEvent `_ -------- .. method:: GetDate() Returns the date. | **Returns:** `wx.DateTime <../Widgets/wx.DateTime.html>`_ -------- .. method:: SetDate(date) Sets the date carried by the event, normally only used by the library internally. **Parameters:** * `date` (`wx.DateTime <../Widgets/wx.DateTime.html>`_) -------- Properties ^^^^^^^^^^ .. attribute:: Date See `GetDate <#GetDate>`_ and `SetDate <#SetDate>`_