|
|
I used Fl_Browser for reference for the Fl_Tree API, as their needs are similar in terms of being a collection of items that are not derived from Fl_Widget.
In the case of Fl_Tree::remove(), its docs read much like Fl_Browser::remove(), and neither elaborates on destruction (but probably should, to avoid confusion with Fl_Group::remove() which does not destroy).
Fl_Browser::remove(int)
Remove entry for given line number, making the browser one line shorter.
You must call redraw() to make any changes visible.
Fl_Tree::remove(..)
Remove the specified 'item' from the tree.
'item' may not be NULL. If it has children, all those are removed too.
If item being removed has focus, no item will have focus.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |