.. include:: headings.inc .. _WindowCreateEvent: ========================================================================================================================================== |phoenix_title| **WindowCreateEvent** ========================================================================================================================================== This event is sent just after the actual window associated with a :ref:`Window` object has been created. Since it is derived from :ref:`CommandEvent`, the event propagates up the window hierarchy. .. _WindowCreateEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`WindowCreateEvent` parameter. - EVT_WINDOW_CREATE: Process a ``wxEVT_CREATE`` event. .. seealso:: :ref:`Events and Event Handling `, :ref:`WindowDestroyEvent` | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **WindowCreateEvent** .. raw:: html

Inheritance diagram of WindowCreateEvent

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~WindowCreateEvent.__init__` Constructor. :meth:`~WindowCreateEvent.GetWindow` Return the window being created. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~WindowCreateEvent.Window` See :meth:`~WindowCreateEvent.GetWindow` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: WindowCreateEvent(CommandEvent) This event is sent just after the actual window associated with a Window object has been created. **Possible constructors**:: WindowCreateEvent(win=None) .. method:: __init__(self, win=None) Constructor. :param `win`: :type `win`: Window .. method:: GetWindow(self) Return the window being created. :rtype: :ref:`Window` .. attribute:: Window See :meth:`~WindowCreateEvent.GetWindow`