diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-14 15:45:27 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-14 15:45:27 +0000 |
| commit | ce4d0fd5d86a1f725aba6093d9674b993d437d6c (patch) | |
| tree | 4839ae652332f4ec80de23a21fb0ddd702a20330 /FL/Fl_Tabs.H | |
| parent | 7f4e2867e84826d237e48f01f25de168cfdb986b (diff) | |
Doxygen Documentation WP4 Done. Has all documentation content but should be completed in increment 2. Registered for WP5.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Tabs.H')
| -rw-r--r-- | FL/Fl_Tabs.H | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/FL/Fl_Tabs.H b/FL/Fl_Tabs.H index 3f88c2a63..3548dfef4 100644 --- a/FL/Fl_Tabs.H +++ b/FL/Fl_Tabs.H @@ -30,6 +30,32 @@ #include "Fl_Group.H" +/** + The Fl_Tabs widget is the "file card tabs" + interface that allows you to put lots and lots of buttons and + switches in a panel, as popularized by many toolkits. + + <P ALIGN=CENTER>\image html src=</P> + + <P>Clicking the tab makes a child visible() by calling + show() on it, and all other children are made invisible + by calling hide() on them. Usually the children are Fl_Group widgets + containing several widgets themselves. + + <P>Each child makes a card, and it's label() is printed + on the card tab, including the label font and style. The + selection color of that child is used to color the tab, while + the color of the child determines the background color of the + pane. + + <P>The size of the tabs is controlled by the bounding box of the + children (there should be some space between the children and + the edge of the Fl_Tabs), and the tabs may be placed + "inverted" on the bottom, this is determined by which + gap is larger. It is easiest to lay this out in fluid, using the + fluid browser to select each child group and resize them until + the tabs look the way you want them to. +*/ class FL_EXPORT Fl_Tabs : public Fl_Group { Fl_Widget *value_; Fl_Widget *push_; |
