This event class is used for the events generated by wxCollapsiblePane.
Derived from
wxCommandEvent
wxEvent
wxObject
Include files
<wx/collpane.h>
Event handling
To process input from a wxCollapsiblePane, use one of these event handler macros to direct input to member function that take a wxCollapsiblePaneEvent argument:
EVT_COLLAPSIBLEPANE_CHANGED(id, func) | The user showed or hidden the collapsible pane. |
Members
wxCollapsiblePaneEvent::wxCollapsiblePaneEvent
wxCollapsiblePaneEvent::GetCollapsed
wxCollapsiblePaneEvent::SetCollapsed
wxCollapsiblePaneEvent(wxObject * generator, int id, bool collapsed)
The constructor is not normally used by the user code.
bool GetCollapsed() const
Returns true if the pane has been collapsed.
void SetCollapsed(bool collapsed)
Sets this as a collapsed pane event (if collapsed is true) or as an expanded pane event (if collapsed is false).