Fl_Tab::Fl_Tab(int x, int y, int w, int h,
+
- Creates a new Fl_Tab widget using the given position, size,
+ Creates a new Fl_Tabs widget using the given position, size,
and label string. The default boxtype is FL_THIN_UP_BOX.
Use add(Fl_Widget *)
to add each child (which is probably itself a Fl_Group). The
children should be sized to stay away from the top or bottom edge of
the Fl_Tabs, which is where the tabs are drawn.
-
+
The destructor also deletes all the children. This allows a
whole tree to be deleted at once, without having to keep a pointer to
all the children in the user code. A kludge has been done so the
-Fl_Tab and all of it's children can be automatic (local)
-variables, but you must declare the Fl_Tabfirst, so
+Fl_Tabs and all of it's children can be automatic (local)
+variables, but you must declare the Fl_Tabsfirst, so
that it is destroyed last.
-