From 5a3aced3ab97ff110e44d2ed8ff6e5c47c7064d7 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 31 Aug 2010 10:01:59 +0000 Subject: 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 --- FL/Fl_Group.H | 1 + 1 file changed, 1 insertion(+) (limited to 'FL') 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. -- cgit v1.2.3