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_Tile.html | 52 +++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'documentation/Fl_Tile.html') diff --git a/documentation/Fl_Tile.html b/documentation/Fl_Tile.html index cd2afc2b5..977326308 100644 --- a/documentation/Fl_Tile.html +++ b/documentation/Fl_Tile.html @@ -17,21 +17,21 @@

Description

- The Fl_Tile class lets you resize the children by dragging -the border between them: + The Fl_Tile class lets you resize the children by dragging +the border between them:

Fl_Tile widget.

-

Fl_Tile allows objects to be resized to zero dimensions. - To prevent this you can use the resizable() to limit where +

Fl_Tile allows objects to be resized to zero dimensions. + To prevent this you can use the resizable() to limit where corners can be dragged to.

-

Even though objects can be resized to zero sizes, they must -initially have non-zero sizes so the Fl_Tile can figure out -their layout. If desired, call position() after creating the -children but before displaying the window to set the borders where you +

Even though objects can be resized to zero sizes, they must +initially have non-zero sizes so the Fl_Tile can figure out +their layout. If desired, call position() after creating the +children but before displaying the window to set the borders where you want.

The "borders" are part of the children, an - Fl_Tile does not -draw any graphics of it's own. In the above example all the final -children have FL_DOWN_BOX types, and the "ridges" you see are + Fl_Tile does not +draw any graphics of it's own. In the above example all the final +children have FL_DOWN_BOX types, and the "ridges" you see are two adjacent FL_DOWN_BOX's drawn next to each other.

Methods

-

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

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

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

virtual Fl_Tile::~Fl_Tile()

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

void Fl_Tile::position(from_x, from_y, +Fl_Tile and all of it's children can be automatic (local) +variables, but you must declare the Fl_Tile first, so +that it is destroyed last. +

void Fl_Tile::position(from_x, from_y, to_x, to_y)

- Drag the intersection at from_x,from_y to to_x,to_y. - This redraws all the necessary children. + Drag the intersection at from_x,from_y to to_x,to_y. + This redraws all the necessary children.

void Fl_Tile::resizable(Fl_Widget &w)
void Fl_Tile::resizable(Fl_Widget *w)

-The "resizable" child widget (which should be invisible) limits where the -border can be dragged to. If you don't set it, it will be possible to -drag the borders right to the edge, and thus resize objects on the edge -to zero width or height. The resizable() widget is not +The "resizable" child widget (which should be invisible) limits where the +border can be dragged to. If you don't set it, it will be possible to +drag the borders right to the edge, and thus resize objects on the edge +to zero width or height. The resizable() widget is not resized by dragging any borders. -- cgit v1.2.3