From d7b88a3bcc7e76f38ee5799be7722fd5a10781ef Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 13 Jan 1999 19:28:54 +0000 Subject: Updated all links so they work between files. Revision 1. git-svn-id: file:///fltk/svn/fltk/trunk@219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Pack.html | 181 ++++++++++++++++++++------------------------- 1 file changed, 79 insertions(+), 102 deletions(-) (limited to 'documentation/Fl_Pack.html') diff --git a/documentation/Fl_Pack.html b/documentation/Fl_Pack.html index b7e70cb9e..5eb0a324e 100644 --- a/documentation/Fl_Pack.html +++ b/documentation/Fl_Pack.html @@ -1,103 +1,80 @@ - - - -
- -

class Fl_Pack

- -
- -

Class Hierarchy

- - +

Include Files

+ +

Description

+ This widget was designed to add the functionality of compressing and +aligning widgets. +

If type() is FL_HORIZONTAL all the children are +resized to the height of the Fl_Pack, and are moved next to +each other horizontally. If type() is not FL_HORIZONTAL + then the children are resized to the width and are stacked below each +other. Then the Fl_Pack resizes itself to surround the child +widgets.

+

This widget is needed for the Fl_Tab. + In addition you may want to put the Fl_Pack inside an +Fl_Scroll.

+

Methods

+
+ + +
+ + + + + + + + + +
+
+

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

+ Creates a new Fl_Pack widget using the given position, size, +and label string. The default boxtype is FL_NO_BOX. +

virtual Fl_Pack::~Fl_Pack()

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

int Fl_Pack::spacing() const +
void Fl_Pack::spacing(int)

+ Gets or sets the number of extra pixels of blank space that are added +between the children. \ No newline at end of file -- cgit v1.2.3