diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl_Group.html | 18 | ||||
| -rw-r--r-- | documentation/osissues.html | 7 |
2 files changed, 21 insertions, 4 deletions
diff --git a/documentation/Fl_Group.html b/documentation/Fl_Group.html index f4509b303..21d912d72 100644 --- a/documentation/Fl_Group.html +++ b/documentation/Fl_Group.html @@ -81,7 +81,12 @@ to the end of this group. <H4><A name="Fl_Group.clear">void Fl_Group::clear()</A></H4> -<P>The <TT>clear()</TT> method deletes all child widgets recursively. +<p>The <tt>clear()</tt> method deletes all child widgets from +memory recursively.</p> + +<p>This method differs from the <a +href='#Fl_Group.remove'><tt>remove()</tt></a> method in that it +affects all child widgets and deletes them from memory.</p> <H4><A name="Fl_Group.init_sizes">void Fl_Group::init_sizes()</A></H4> @@ -104,8 +109,15 @@ This does <tt>insert(w, find(beforethis))</tt>. This will append the widget if <tt>beforethis</tt> is not in the group. <H4><A name=Fl_Group.remove>void Fl_Group::remove(Fl_Widget &w)</A></H4> -Removes a widget from the group. This does nothing if the widget is -not currently a child of this group. + +<p>Removes a widget from the group but does not delete it. This +method does nothing if the widget is not a child of the +group.</p> + +<p>This method differs from the <a +href='#Fl_Group.clear'><tt>clear()</tt></a> method in that it +only affects a single widget and does not delete it from +memory.</p> <H4><A name=Fl_Group.current>static Fl_Group *Fl_Group::current() <BR> static void Fl_Group::current(Fl_Group *w)</A></H4> diff --git a/documentation/osissues.html b/documentation/osissues.html index a140dc6b8..045921bbf 100644 --- a/documentation/osissues.html +++ b/documentation/osissues.html @@ -333,7 +333,7 @@ MyWindow::~MyWindow() { <H3>Setting the Icon of a Window</H3> -<P>FLTK currently supports setting a window's icon *before* it +<P>FLTK currently supports setting a window's icon <b>before</b> it is shown using the <TT>Fl_Window::icon()</TT> method. <H4>void Fl_Window::icon(char *)</H4> @@ -358,6 +358,7 @@ window->icon((char *)p); should be used as follows: <UL><PRE> +#include <X11/xpm.h> #include "icon.xpm" fl_opendisplay(); // needed if display has not been previously opened @@ -370,6 +371,10 @@ XpmCreatePixmapFromData(fl_display, DefaultRootWindow(fl_display), window->icon((char *)p); </PRE></UL> +<p>When using the Xpm library, be sure to include it in the list +of libraries that are used to link the application (usually +"-lXpm").</p> + <CENTER><TABLE WIDTH="90%" BORDER="1" CELLPADDING="5" CELLSPACING="0" BGCOLOR="#cccccc"> <TR> <TD><B>NOTE:</B> |
