|
fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
#include <Fl_Toggle_Button.H>


Public Member Functions | |
| Fl_Toggle_Button (int X, int Y, int W, int H, const char *l=0) | |
The toggle button is a push button that needs to be clicked once to toggle on, and one more time to toggle off. The Fl_Toggle_Button subclass displays the "on" state by drawing a pushed-in button.
Buttons generate callbacks when they are clicked by the user. You control exactly when and how by changing the values for type() and when().
Definition at line 45 of file Fl_Toggle_Button.H.
| Fl_Toggle_Button::Fl_Toggle_Button | ( | int | X, |
| int | Y, | ||
| int | W, | ||
| int | H, | ||
| const char * | l = 0 |
||
| ) | [inline] |
Creates a new Fl_Toggle_Button widget using the given position, size, and label string.
The inherited destructor deletes the toggle button.
Definition at line 52 of file Fl_Toggle_Button.H.
References FL_TOGGLE_BUTTON, and Fl_Widget::type().