.. include:: headings.inc .. _WindowModalDialogEvent: ========================================================================================================================================== |phoenix_title| **WindowModalDialogEvent** ========================================================================================================================================== | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **WindowModalDialogEvent** .. raw:: html

Inheritance diagram of WindowModalDialogEvent

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~WindowModalDialogEvent.__init__` :meth:`~WindowModalDialogEvent.Clone` Returns a copy of the event. :meth:`~WindowModalDialogEvent.GetDialog` :meth:`~WindowModalDialogEvent.GetReturnCode` ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~WindowModalDialogEvent.Dialog` See :meth:`~WindowModalDialogEvent.GetDialog` :attr:`~WindowModalDialogEvent.ReturnCode` See :meth:`~WindowModalDialogEvent.GetReturnCode` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: WindowModalDialogEvent(CommandEvent) **Possible constructors**:: WindowModalDialogEvent(commandType=wxEVT_NULL, id=0) .. method:: __init__(self, commandType=wxEVT_NULL, id=0) :param `commandType`: :type `commandType`: EventType :param `id`: :type `id`: int .. method:: Clone(self) Returns a copy of the event. Any event that is posted to the wxWidgets event system for later action (via :meth:`EvtHandler.AddPendingEvent` , :meth:`EvtHandler.QueueEvent` or :func:`PostEvent`) must implement this method. All wxWidgets events fully implement this method, but any derived events implemented by the user should also implement this method just in case they (or some event derived from them) are ever posted. All wxWidgets events implement a copy constructor, so the easiest way of implementing the Clone function is to implement a copy constructor for a new event (call it MyEvent) and then define the Clone function like this: :: def Clone(self): return MyEvent() :rtype: :ref:`Event` .. method:: GetDialog(self) :rtype: :ref:`Dialog` .. method:: GetReturnCode(self) :rtype: `int` .. attribute:: Dialog See :meth:`~WindowModalDialogEvent.GetDialog` .. attribute:: ReturnCode See :meth:`~WindowModalDialogEvent.GetReturnCode`