.. include:: headings.inc .. _IconizeEvent: ========================================================================================================================================== |phoenix_title| **IconizeEvent** ========================================================================================================================================== An event being sent when the frame is iconized (minimized) or restored. Currently only wxMSW and wxGTK generate such events. .. _IconizeEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`IconizeEvent` parameter. - EVT_ICONIZE: Process a ``wxEVT_ICONIZE`` event. .. availability:: Only available for MSW, GTK. .. seealso:: :ref:`Events and Event Handling `, :meth:`TopLevelWindow.Iconize` , :meth:`TopLevelWindow.IsIconized` | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **IconizeEvent** .. raw:: html

Inheritance diagram of IconizeEvent

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~IconizeEvent.__init__` Constructor. :meth:`~IconizeEvent.Iconized` :meth:`~IconizeEvent.IsIconized` Returns ``True`` if the frame has been iconized, ``False`` if it has been restored. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: IconizeEvent(Event) An event being sent when the frame is iconized (minimized) or restored. **Possible constructors**:: IconizeEvent(id=0, iconized=True) .. method:: __init__(self, id=0, iconized=True) Constructor. :param `id`: :type `id`: int :param `iconized`: :type `iconized`: bool .. method:: Iconized(self) :rtype: `bool` .. deprecated:: 2.9.4 2.9.4 .. deprecated:: 2.9.4 This function is deprecated in favour of :meth:`IsIconized` . .. method:: IsIconized(self) Returns ``True`` if the frame has been iconized, ``False`` if it has been restored. :rtype: `bool`