Author: matt
Date: 2010-10-30 09:10:37 -0700 (Sat, 30 Oct 2010)
New Revision: 7772
Log:
Added documentation for Fl_Tabs resizable.
Modified:
branches/branch-1.3/src/Fl_Tabs.cxx
Modified: branches/branch-1.3/src/Fl_Tabs.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Tabs.cxx 2010-10-30 14:51:32 UTC (rev 7771)
+++ branches/branch-1.3/src/Fl_Tabs.cxx 2010-10-30 16:10:37 UTC (rev 7772)
@@ -405,13 +405,17 @@
Creates a new Fl_Tabs widget using the given position, size,
and label string. The default boxtype is FL_THIN_UP_BOX.
- <P>Use add(Fl_Widget
- *) to add each child, which are usually
+ Use add(Fl_Widget*) to add each child, which are usually
Fl_Group widgets. The children should be sized to stay
away from the top or bottom edge of the Fl_Tabs widget,
which is where the tabs will be drawn.
- <P>The destructor <I>also deletes all the children</I>. This
+ All children of Fl_Tab should have the same size and exactly fit on top of
+ each other. They should only leave space above or below where that tabs
will
+ go, but not on the sides. If the first child of Fl_Tab is set to
+ "resizable()", the riders will not resize when the tabs are resized.
+
+ The destructor <I>also deletes all the children</I>. 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_Tabs and all of its children
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit