|
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_Widget.H"

Go to the source code of this file.
Classes | |
| class | Fl_Button |
| Buttons generate callbacks when they are clicked by the user. More... | |
Defines | |
| #define | FL_NORMAL_BUTTON 0 |
| #define | FL_TOGGLE_BUTTON 1 |
| value() toggles between 0 and 1 at every click of the button | |
| #define | FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) |
| #define | FL_HIDDEN_BUTTON 3 |
| for Forms compatibility | |
Functions | |
| FL_EXPORT Fl_Shortcut | fl_old_shortcut (const char *) |
| #define FL_HIDDEN_BUTTON 3 |
for Forms compatibility
Definition at line 45 of file Fl_Button.H.
Referenced by Fl_Return_Button::draw(), Fl_Button::draw(), and fl_add_button().
| #define FL_NORMAL_BUTTON 0 |
value() will be set to 1 during the press of the button and reverts back to 0 when the button is released
Definition at line 39 of file Fl_Button.H.
| #define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) |
is set to 1 at button press, and all other buttons in the same group with type() == FL_RADIO_BUTTON are set to zero.
Definition at line 42 of file Fl_Button.H.
Referenced by fl_add_button(), Fl_Radio_Button::Fl_Radio_Button(), Fl_Radio_Light_Button::Fl_Radio_Light_Button(), Fl_Radio_Round_Button::Fl_Radio_Round_Button(), Fl_Button::handle(), and Fl_Button::setonly().
| #define FL_TOGGLE_BUTTON 1 |
value() toggles between 0 and 1 at every click of the button
Definition at line 41 of file Fl_Button.H.
Referenced by fl_add_button(), Fl_Light_Button::Fl_Light_Button(), Fl_Toggle_Button::Fl_Toggle_Button(), Fl_Button::handle(), and Shortcut_Button::handle().
| FL_EXPORT Fl_Shortcut fl_old_shortcut | ( | const char * | s | ) |
Emulation of XForms named shortcuts.
Converts ascii shortcut specifications (eg. "^c") into the FLTK integer equivalent (eg. FL_CTRL+'c')
These ascii characters are used to specify the various keyboard modifier keys:
# - Alt + - Shift ^ - Control
Definition at line 285 of file fl_shortcut.cxx.
Referenced by Fl_Menu_Item::add(), Fl_Menu_::add(), Fl_Menu_::insert(), and Fl_Button::shortcut().