controls() sample.
@beginEventTable{wxCommandEvent}
- @event{EVT_TOGGLEBUTTON(id, func)}:
+ @event{EVT_TOGGLEBUTTON(id, func)}
Handles a toggle button click event.
@endEventTable
@library{wxcore}
@category{ctrl}
- @appearance{togglebutton.png}
+ <!-- @appearance{togglebutton.png} -->
@see wxCheckBox, wxButton, wxBitmapToggleButton
*/
/**
Gets the state of the toggle button.
- @returns Returns @true if it is pressed, @false otherwise.
+ @return Returns @true if it is pressed, @false otherwise.
*/
bool GetValue() const;
This control emits an update UI event.
@beginEventTable{wxCommandEvent}
- @event{EVT_TOGGLEBUTTON(id, func)}:
+ @event{EVT_TOGGLEBUTTON(id, func)}
Handles a toggle button click event.
@endEventTable
@library{wxcore}
@category{ctrl}
- @appearance{bitmaptogglebutton.png}
+ <!-- @appearance{bitmaptogglebutton.png} -->
*/
class wxBitmapToggleButton : public wxControl
{
/**
Gets the state of the toggle button.
- @returns Returns @true if it is pressed, @false otherwise.
+ @return Returns @true if it is pressed, @false otherwise.
*/
virtual bool GetValue() const;