You can see wxToggleButton in action in @ref page_samples_controls.
- @beginEventTable{wxCommandEvent}
+ @beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
- Handles a toggle button click event.
+ Handles a toggle button click event.
@endEventTable
@library{wxcore}
Text to be displayed next to the toggle button.
@param pos
Toggle button position.
- If wxDefaultPosition is specified then a default position is chosen.
+ If ::wxDefaultPosition is specified then a default position is chosen.
@param size
Toggle button size.
- If wxDefaultSize is specified then a default size is chosen.
+ If ::wxDefaultSize is specified then a default size is chosen.
@param style
Window style. See wxToggleButton.
@param val
This control emits an update UI event.
- @beginEventTable{wxCommandEvent}
+ @beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
- Handles a toggle button click event.
+ Handles a toggle button click event.
@endEventTable
@library{wxcore}