This event class is used for the events generated by wx.CollapsiblePane.
Handlers bound for the following event types will receive a wx.CollapsiblePaneEvent parameter.
See also
__init__ |
The constructor is not normally used by the user code. |
GetCollapsed |
Returns True if the pane has been collapsed. |
SetCollapsed |
Sets this as a collapsed pane event (if collapsed is True ) or as an expanded pane event (if collapsed is False ). |
wx.
CollapsiblePaneEvent
(CommandEvent)¶Possible constructors:
CollapsiblePaneEvent(generator, id, collapsed)
This event class is used for the events generated by CollapsiblePane.
__init__
(self, generator, id, collapsed)¶The constructor is not normally used by the user code.
Parameters: |
|
---|
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 is False
).
Parameters: | collapsed (bool) – |
---|
Collapsed
¶See GetCollapsed
and SetCollapsed