From a8b58dc223afc42c36a551ae6d6992e6bb02b2c7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 7 Sep 2004 20:59:18 +0000 Subject: Documentation updates (STR #505, STR #513) The old source file "fl_set_gray.cxx" is not needed (STR #516) Fl_Text_Display still called delete[] instead of free() in one place (STR #503) Fl_File_Chooser didn't correctly call isprint() and isspace() when checking to see if the current file was text that can be previewed (STR #517) FLUID didn't compile with Borland C++ due to a compiler bug (STR #496) Fl_Positioner did not handle reversed min and max values (STR #510) fl_descent(), fl_height(), and fl_width() would crash a program if you didn't call fl_font() first; they now return -1 if no font is set (STR #500) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Group.html | 18 +++++++++++++++--- documentation/osissues.html | 7 ++++++- 2 files changed, 21 insertions(+), 4 deletions(-) (limited to 'documentation') 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.

void Fl_Group::clear()

-

The clear() method deletes all child widgets recursively. +

The clear() method deletes all child widgets from +memory recursively.

+ +

This method differs from the remove() method in that it +affects all child widgets and deletes them from memory.

void Fl_Group::init_sizes()

@@ -104,8 +109,15 @@ This does insert(w, find(beforethis)). This will append the widget if beforethis is not in the group.

void Fl_Group::remove(Fl_Widget &w)

-Removes a widget from the group. This does nothing if the widget is -not currently a child of this group. + +

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.

+ +

This method differs from the clear() method in that it +only affects a single widget and does not delete it from +memory.

static Fl_Group *Fl_Group::current()
static void Fl_Group::current(Fl_Group *w)

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() {

Setting the Icon of a Window

-

FLTK currently supports setting a window's icon *before* it +

FLTK currently supports setting a window's icon before it is shown using the Fl_Window::icon() method.

void Fl_Window::icon(char *)

@@ -358,6 +358,7 @@ window->icon((char *)p); should be used as follows: +

When using the Xpm library, be sure to include it in the list +of libraries that are used to link the application (usually +"-lXpm").

+
NOTE: -- cgit v1.2.3