.. include:: headings.inc .. currentmodule:: adv .. _adv.DateEvent: ========================================================================================================================================== |phoenix_title| **DateEvent** ========================================================================================================================================== This event class holds information about a date change and is used together with :ref:`adv.DatePickerCtrl`. It also serves as a base class for :ref:`adv.CalendarEvent`. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **DateEvent** .. raw:: html

Inheritance diagram of DateEvent

| |sub_classes| Known Subclasses ============================== :ref:`adv.CalendarEvent` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~DateEvent.__init__` :meth:`~DateEvent.GetDate` Returns the date. :meth:`~DateEvent.SetDate` Sets the date carried by the event, normally only used by the library internally. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~DateEvent.Date` See :meth:`~DateEvent.GetDate` and :meth:`~DateEvent.SetDate` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: DateEvent(CommandEvent) This event class holds information about a date change and is used together with DatePickerCtrl. **Possible constructors**:: DateEvent() DateEvent(win, dt, type) .. method:: __init__(self, *args, **kw) |overload| **Overloaded Implementations**: **~~~** **__init__** `(self)` **~~~** **__init__** `(self, win, dt, type)` :param `win`: :type `win`: Window :param `dt`: :type `dt`: DateTime :param `type`: :type `type`: EventType **~~~** .. method:: GetDate(self) Returns the date. :rtype: :ref:`DateTime` .. method:: SetDate(self, date) Sets the date carried by the event, normally only used by the library internally. :param `date`: :type `date`: DateTime .. attribute:: Date See :meth:`~DateEvent.GetDate` and :meth:`~DateEvent.SetDate`