.. 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 .. _wx.WindowCreateEvent: ========================================================================================================================================== |phoenix_title| **wx.WindowCreateEvent** ========================================================================================================================================== This event is sent just after the actual window associated with a :ref:`wx.Window` object has been created. Since it is derived from :ref:`wx.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:`wx.WindowCreateEvent` parameter. - EVT_WINDOW_CREATE: Process a ``wxEVT_CREATE`` event. ^^ .. seealso:: :ref:`Events and Event Handling `, :ref:`wx.WindowDestroyEvent` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class WindowCreateEvent:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.WindowCreateEvent.__init__` Constructor. :meth:`~wx.WindowCreateEvent.GetWindow` Return the window being created. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.WindowCreateEvent.Window` See :meth:`~wx.WindowCreateEvent.GetWindow` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.WindowCreateEvent(CommandEvent) **Possible constructors**:: WindowCreateEvent(win=None) This event is sent just after the actual window associated with a Window object has been created. .. method:: __init__(self, win=None) Constructor. :param `win`: :type `win`: wx.Window .. method:: GetWindow(self) Return the window being created. :rtype: :ref:`wx.Window` .. attribute:: Window See :meth:`~wx.WindowCreateEvent.GetWindow`