diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 19:24:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 19:24:00 +0000 |
| commit | 09daf20b81cdae78772f07c0af22a571d7cc73eb (patch) | |
| tree | 1641f788cafe20b505355b0479ba0d528297eb30 /documentation/Fl_Pack.html | |
| parent | b105ab8b7fb6281635076559aae96f2b3b12fc51 (diff) | |
Documentation updates galore (up to chapter 7, still need to do chapter
8 and 9, tweek the appendices, and recapture the screenshots...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Pack.html')
| -rw-r--r-- | documentation/Fl_Pack.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/documentation/Fl_Pack.html b/documentation/Fl_Pack.html index a26e81e5c..ae1fd2477 100644 --- a/documentation/Fl_Pack.html +++ b/documentation/Fl_Pack.html @@ -17,15 +17,15 @@ </PRE> </UL> <H3>Description</H3> - This widget was designed to add the functionality of compressing and -aligning widgets. -<P>If <TT>type()</TT> is <TT>FL_HORIZONTAL</TT> all the children are -resized to the height of the <TT>Fl_Pack</TT>, and are moved next to + This widget was designed to add the functionality of compressing and +aligning widgets. +<P>If <TT>type()</TT> is <TT>FL_HORIZONTAL</TT> all the children are +resized to the height of the <TT>Fl_Pack</TT>, and are moved next to each other horizontally. If <TT>type()</TT> is not <TT>FL_HORIZONTAL</TT> - then the children are resized to the width and are stacked below each -other. Then the <TT>Fl_Pack</TT> resizes itself to surround the child + then the children are resized to the width and are stacked below each +other. Then the <TT>Fl_Pack</TT> resizes itself to surround the child widgets. </P> -<P>This widget is needed for the <A href=Fl_Tabs.html#Fl_Tabs><TT>Fl_Tabs</TT></A>. +<P>This widget is needed for the <A href=Fl_Tabs.html#Fl_Tabs><TT>Fl_Tabs</TT></A>. In addition you may want to put the <TT>Fl_Pack</TT> inside an <A href=Fl_Scroll.html#Fl_Scroll> <TT>Fl_Scroll</TT></A>. </P> <H3>Methods</H3> @@ -34,18 +34,18 @@ widgets. </P> <LI><A href=#Fl_Pack.~Fl_Pack>~Fl_Pack</A></LI> <LI><A href=#Fl_Pack.spacing>spacing</A></LI> </UL> -<H4><A name=Fl_Pack.Fl_Pack>Fl_Pack::Fl_Pack(int x, int y, int w, int +<H4><A name=Fl_Pack.Fl_Pack>Fl_Pack::Fl_Pack(int x, int y, int w, int h, const char *label = 0)</A></H4> - Creates a new <TT>Fl_Pack</TT> widget using the given position, size, -and label string. The default boxtype is <TT>FL_NO_BOX</TT>. + Creates a new <TT>Fl_Pack</TT> widget using the given position, size, +and label string. The default boxtype is <TT>FL_NO_BOX</TT>. <H4><A name=Fl_Pack.~Fl_Pack>virtual Fl_Pack::~Fl_Pack()</A></H4> - 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 + 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 <TT> -Fl_Pack</TT> and all of it's children can be automatic (local) -variables, but you must declare the <TT>Fl_Pack</TT><I>first</I>, so -that it is destroyed last. +Fl_Pack</TT> and all of it's children can be automatic (local) +variables, but you must declare the <TT>Fl_Pack</TT><I>first</I>, so +that it is destroyed last. <H4><A name=Fl_Pack.spacing>int Fl_Pack::spacing() const <BR> void Fl_Pack::spacing(int)</A></H4> - Gets or sets the number of extra pixels of blank space that are added + Gets or sets the number of extra pixels of blank space that are added between the children. </BODY></HTML> |
