.. include:: headings.inc .. _CollapsiblePaneEvent: ========================================================================================================================================== |phoenix_title| **CollapsiblePaneEvent** ========================================================================================================================================== This event class is used for the events generated by :ref:`CollapsiblePane`. .. _CollapsiblePaneEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`CollapsiblePaneEvent` parameter. - EVT_COLLAPSIBLEPANE_CHANGED: The user expanded or collapsed the collapsible pane. .. seealso:: :ref:`CollapsiblePane` | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **CollapsiblePaneEvent** .. raw:: html

Inheritance diagram of CollapsiblePaneEvent

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~CollapsiblePaneEvent.__init__` The constructor is not normally used by the user code. :meth:`~CollapsiblePaneEvent.GetCollapsed` Returns ``True`` if the pane has been collapsed. :meth:`~CollapsiblePaneEvent.SetCollapsed` Sets this as a collapsed pane event (if `collapsed` is ``True``) or as an expanded pane event (if `collapsed` is ``False``). ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~CollapsiblePaneEvent.Collapsed` See :meth:`~CollapsiblePaneEvent.GetCollapsed` and :meth:`~CollapsiblePaneEvent.SetCollapsed` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: CollapsiblePaneEvent(CommandEvent) This event class is used for the events generated by CollapsiblePane. **Possible constructors**:: CollapsiblePaneEvent(generator, id, collapsed) .. method:: __init__(self, generator, id, collapsed) The constructor is not normally used by the user code. :param `generator`: :type `generator`: Object :param `id`: :type `id`: int :param `collapsed`: :type `collapsed`: bool .. method:: GetCollapsed(self) Returns ``True`` if the pane has been collapsed. :rtype: `bool` .. method:: SetCollapsed(self, collapsed) Sets this as a collapsed pane event (if `collapsed` is ``True``) or as an expanded pane event (if `collapsed` is ``False``). :param `collapsed`: :type `collapsed`: bool .. attribute:: Collapsed See :meth:`~CollapsiblePaneEvent.GetCollapsed` and :meth:`~CollapsiblePaneEvent.SetCollapsed`