Inherits fltk::Button.
Public Member Functions | |
ToggleButton (int x, int y, int w, int h, const char *l=0) |
This button turns the state() on and off each release of a click inside of it.
You can also convert a regular button into this by doing type(Button::TOGGLE) to it.