wxRuby Documentation Home

# Wx::CollapsiblePaneEvent

This event class is used for the events generated by
CollapsiblePane.

## Derived from

CommandEvent

Event

Object

## Event handling

To process input from a CollapsiblePane, use one of these event handler macros to
direct input to member function that take a
CollapsiblePaneEvent argument:

evt_collapsiblepane_changed(id) { | event | … } | The user showed or hidden the collapsible pane.

## See also

CollapsiblePane

## Methods

- CollapsiblePaneEvent.new
- CollapsiblePaneEvent#get_collapsed
- CollapsiblePaneEvent#set_collapsed

### CollapsiblePaneEvent.new

CollapsiblePaneEvent.new(%(arg-type)Object% generator, Integer id, Boolean collapsed)

The constructor is not normally used by the user code.

### CollapsiblePaneEvent#get_collapsed

Boolean get_collapsed()

Returns if the pane has been collapsed.

### CollapsiblePaneEvent#set_collapsed

set_collapsed(%(arg-type)Boolean% collapsed)

Sets this as a collapsed pane event (if collapsed is ) or as an expanded
pane event (if collapsed is ).

[This page automatically generated from the Textile source at 2023-06-09 00:45:25 +0000]