wx.CollapsiblePaneEvent¶
This event class is used for the events generated by wx.CollapsiblePane.
Events Emitted by this Class¶
Handlers bound for the following event types will receive a wx.CollapsiblePaneEvent parameter.
EVT_COLLAPSIBLEPANE_CHANGED: The user expanded or collapsed the collapsible pane.
See also
Class Hierarchy¶
Methods Summary¶
The constructor is not normally used by the user code. |
|
Returns |
|
Sets this as a collapsed pane event (if collapsed is |
Properties Summary¶
See |
Class API¶
- class wx.CollapsiblePaneEvent(CommandEvent)¶
Possible constructors:
CollapsiblePaneEvent(generator, id, collapsed) -> None
This event class is used for the events generated by CollapsiblePane.
Methods¶
- __init__(self, generator, id, collapsed)¶
The constructor is not normally used by the user code.
- Parameters:
generator (wx.Object)
id (int)
collapsed (bool)
- Return type:
None
- GetCollapsed(self)¶
Returns
True
if the pane has been collapsed.- Return type:
bool
- SetCollapsed(self, collapsed)¶
Sets this as a collapsed pane event (if collapsed is
True
) or as an expanded pane event (if collapsed isFalse
).- Parameters:
collapsed (bool)
- Return type:
None
Properties¶
- Collapsed¶
See
GetCollapsed
andSetCollapsed