*********************** wx.CollapsiblePaneEvent *********************** Inheritance diagram for `wx.CollapsiblePaneEvent`: | .. inheritance-diagram:: wx.CollapsiblePaneEvent | Description =========== This event class is used for the events generated by `wx.CollapsiblePane <../Widgets/wx.CollapsiblePane.html>`_. .. seealso:: `wx.CollapsiblePane <../Widgets/wx.CollapsiblePane.html>`_ Derived From ^^^^^^^^^^^^^ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Event Handling ^^^^^^^^^^^^^^ ================================================== ================================================== Event Name Description ================================================== ================================================== wx.EVT_COLLAPSIBLEPANE_CHANGED(id, func) The user showed or hidden the collapsible pane. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetCollapsed <#GetCollapsed>`_ * `SetCollapsed <#SetCollapsed>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Collapsed <#Collapsed>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(generator, id, collapsed) The constructor is normally not used by the user code. **Parameters:** * `generator` (`wx.Object <../Widgets/wx.Object.html>`_) * `id` (int) * `collapsed` (bool) | **Returns:** `wx.CollapsiblePaneEvent `_ -------- .. method:: GetCollapsed() Returns ``True`` if the pane has been collapsed. | **Returns:** `bool` -------- .. method:: SetCollapsed(collapsed) Sets this as a collapsed pane event (if `collapsed` is ``True``) or as an expanded pane event (if `collapsed` is ``False``). **Parameters:** * `collapsed` (bool) -------- Properties ^^^^^^^^^^ .. attribute:: Collapsed See `GetCollapsed <#GetCollapsed>`_ and `SetCollapsed <#SetCollapsed>`_