summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Group.H8
1 files changed, 8 insertions, 0 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H
index a7b6c393c..9f394c833 100644
--- a/FL/Fl_Group.H
+++ b/FL/Fl_Group.H
@@ -38,6 +38,14 @@ class Fl_Rect;
this group, and to other groups. The only modifier grabbed is shift
(for shift-tab), so that ctrl-tab, alt-up, and such are free
for the app to use as shortcuts.
+
+ To remove a widget from the group and destroy it, in 1.3.x (and up)
+ you can simply use:
+ \code
+ delete some_widget;
+ \endcode
+ ..and this will trigger proper scheduling of the widget's removal
+ from its parent group.
*/
class FL_EXPORT Fl_Group : public Fl_Widget {