diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-08-31 10:01:59 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-08-31 10:01:59 +0000 |
| commit | 5a3aced3ab97ff110e44d2ed8ff6e5c47c7064d7 (patch) | |
| tree | e918f2d9ac2492dbb4be0573f06ec08028ac6a92 /FL/Fl_Group.H | |
| parent | 95aa6513258805a7f75377e87317824c65a22d32 (diff) | |
New method: Fl_Group::remove(int index) to speed up the removal
of widgets if the widget's index is known. Thanks to Greg for the
patch. See also STR #2409.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7693 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Group.H')
| -rw-r--r-- | FL/Fl_Group.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index cde3e8cb2..f519a7111 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -106,6 +106,7 @@ public: widget if \p before is not in the group. */ void insert(Fl_Widget& o, Fl_Widget* before) {insert(o,find(before));} + void remove(int index); void remove(Fl_Widget&); /** Removes the widget \p o from the group. |
