From 09daf20b81cdae78772f07c0af22a571d7cc73eb Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 29 Nov 2001 19:24:00 +0000 Subject: 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 --- documentation/Fl_Pack.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'documentation/Fl_Pack.html') 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 @@

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

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

Methods

@@ -34,18 +34,18 @@ widgets.

  • ~Fl_Pack
  • spacing
  • -

    Fl_Pack::Fl_Pack(int x, int y, int w, int +

    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. + 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 + 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. +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 + Gets or sets the number of extra pixels of blank space that are added between the children. -- cgit v1.2.3