From fee47dba98e38087c2eda233b96ea2c97e92c2f2 Mon Sep 17 00:00:00 2001
From: Matthias Melcher
Date: Wed, 14 Jun 2006 07:24:05 +0000
Subject: STR 1306: udated documentation to reflect limitation in
Fl::delete_widget(). For a different bug, I was forced to implement an
automated widget deletion system which seems to work well. I would like to
reuse that for all cases that depend on 'delete_widget', making
'delete_widget' obsolete. I will change the STR accordingly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/Fl.html | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
(limited to 'documentation/Fl.html')
diff --git a/documentation/Fl.html b/documentation/Fl.html
index ac42de887..a20e913d4 100644
--- a/documentation/Fl.html
+++ b/documentation/Fl.html
@@ -501,9 +501,14 @@ window and then calls the default widget callback.
-Schedules a widget for deletion when it is safe to do so. Use
-this method to delete a widget inside a callback function. When
-deleting groups or windows, you must only delete the group or
+
Schedules a widget for deletion at the next call to the event loop.
+Use this method to delete a widget inside a callback function.
+To avoid early deletion of widgets, this function
+should be called toward the end of a callback and only after any call
+to the event loop (Fl:wait(), Fl::flush(),
+fl_ask(), etc).
+
+When deleting groups or windows, you must only delete the group or
window widget and not the individual child widgets.
--
cgit v1.2.3