## wxCollapsiblePaneEvent

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.

See also

wxCollapsiblePane

Members

wxCollapsiblePaneEvent::wxCollapsiblePaneEvent
wxCollapsiblePaneEvent::GetCollapsed
wxCollapsiblePaneEvent::SetCollapsed

### wxCollapsiblePaneEvent::wxCollapsiblePaneEvent

wxCollapsiblePaneEvent(wxObject * generator, int id, bool collapsed)

The constructor is not normally used by the user code.

### wxCollapsiblePaneEvent::GetCollapsed

bool GetCollapsed() const

Returns `true` if the pane has been collapsed.

### wxCollapsiblePaneEvent::SetCollapsed

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`).