|
|
Would like the Fl_Group docs to cover how to properly
remove a widget. Would
the following patch suggestion be accurate?
+++ b/FL/Fl_Group.H
@@ -38,6 +38,10 @@ 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, as
of 1.3.x you can
+ simply use <tt>delete some_widget</tt> and
this will trigger the proper
+ scheduling of the widget's removal from the parent
group.
*/
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/18ac1eaa-21fa-278a-95de-68c1d358a07f%40seriss.com.
[ Direct Link to Message ] | |
|
| |