From 58c1428b71cbcdbd01c0e5e0daeaf0345a0ed7ae Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 9 Jul 2001 23:59:52 +0000 Subject: [PATCH] Fl_Tabs, not Fl_Tab git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Tabs.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/documentation/Fl_Tabs.html b/documentation/Fl_Tabs.html index 5e5623ea1..a66411ffe 100644 --- a/documentation/Fl_Tabs.html +++ b/documentation/Fl_Tabs.html @@ -40,25 +40,25 @@ 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.

Methods

-

Fl_Tab::Fl_Tab(int x, int y, int w, int h, +

Fl_Tabs::Fl_Tabs(int x, int y, int w, int h, const char *label = 0)

- 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.

-

virtual Fl_Tab::~Fl_Tab()

+

virtual Fl_Tabs::~Fl_Tabs()

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. -

Fl_Widget* Fl_Tabs::value() const +

Fl_Widget* Fl_Tabs::value() const
int Fl_Tabs::value(Fl_Widget*)

Gets or sets the currently visible widget/tab.