From ce4d0fd5d86a1f725aba6093d9674b993d437d6c Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 14 Sep 2008 15:45:27 +0000 Subject: Doxygen Documentation WP4 Done. Has all documentation content but should be completed in increment 2. Registered for WP5. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Pack.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/Fl_Pack.cxx') diff --git a/src/Fl_Pack.cxx b/src/Fl_Pack.cxx index 957f28544..8a1607250 100644 --- a/src/Fl_Pack.cxx +++ b/src/Fl_Pack.cxx @@ -34,6 +34,16 @@ #include #include +/** + Creates a new Fl_Pack widget using the given position, size, + and label string. The default boxtype is FL_NO_BOX. +

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::Fl_Pack(int X, int Y, int W, int H,const char *l) : Fl_Group(X, Y, W, H, l) { resizable(0); -- cgit v1.2.3