From 09daf20b81cdae78772f07c0af22a571d7cc73eb Mon Sep 17 00:00:00 2001
From: Michael R Sweet All "property" accessing methods, such as color(),
-parent(), or argument() are implemented as trivial inline
-functions and thus are as fast and small as accessing fields in a
+parent(), or argument() are implemented as trivial inline
+functions and thus are as fast and small as accessing fields in a
structure. Unless otherwise noted, the property setting methods such as
-color(n) or label(s) are also trivial inline functions,
-even if they change the widget's appearance. It is up to the user code
+color(n) or label(s) are also trivial inline functions,
+even if they change the widget's appearance. It is up to the user code
to call redraw() after these. Description
-Fl_Widget is the base class for all widgets in FLTK. You can't
-create one of these because the constructor is not public. However you
-can subclass it.
+Fl_Widget is the base class for all widgets in FLTK. You can't
+create one of these because the constructor is not public. However you
+can subclass it.
Methods
position(x,y) is a shortcut for resize(x,y,w(),h()) , and size(w,h) is a shortcut for resize(x(),y(),w,h) .
Most widgets turn this flag off when they do the callback, and when +do_callback() on the changed ones in response to an "OK" button. +
Most widgets turn this flag off when they do the callback, and when the program sets the stored value.
Changing it will send FL_SHOW or FL_HIDE -events to the widget. Do not change it if the parent is not +events to the widget. Do not change it if the parent is not visible, as this will send false FL_SHOW or FL_HIDE - events to the widget. redraw() is called if necessary on -this or the parent. + events to the widget. redraw() is called if necessary on +this or the parent.