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}
@category{ctrl}
- <!-- @appearance{togglebutton.png} -->
+ @appearance{togglebutton.png}
@see wxCheckBox, wxButton, wxBitmapToggleButton
*/
If wxDefaultSize is specified then a default size is chosen.
@param style
Window style. See wxToggleButton.
- @param validator
+ @param val
Window validator.
@param name
Window name.
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}
@category{ctrl}
- <!-- @appearance{bitmaptogglebutton.png} -->
+ @appearance{bitmaptogglebutton.png}
*/
class wxBitmapToggleButton : public wxControl
{