From a6163888f3c56123b1db313743c6147ba498732c Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Fri, 8 Aug 2014 14:42:07 +0300 Subject: Add third_party libs --- .../windows/fltk-1.1.10/documentation/Fl_Tabs.html | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 third_party/windows/fltk-1.1.10/documentation/Fl_Tabs.html (limited to 'third_party/windows/fltk-1.1.10/documentation/Fl_Tabs.html') diff --git a/third_party/windows/fltk-1.1.10/documentation/Fl_Tabs.html b/third_party/windows/fltk-1.1.10/documentation/Fl_Tabs.html new file mode 100644 index 0000000..96cebef --- /dev/null +++ b/third_party/windows/fltk-1.1.10/documentation/Fl_Tabs.html @@ -0,0 +1,91 @@ + + + Fl_Tabs + + + + + +

class Fl_Tabs

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +

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

Fl_Tabs widget.

+ +

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

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

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

Methods

+ + + +

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

+ +

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

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_Tabs and all of it's children +can be automatic (local) variables, but you must declare the +Fl_Tabs widget first so that it is destroyed +last. + +

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

+ +

Gets or sets the currently visible widget/tab. + + + -- cgit v1.3.1