From c7080e826e99e1db17ff57bf02ae981aec371d23 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 10 Apr 2018 18:37:18 +0000 Subject: General description: mention how to move items around git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Tree.H | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index 46a104db5..119662887 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -89,6 +89,12 @@ /// positioned on the screen with show_item_top(), show_item_middle() and /// show_item_bottom(),
/// item children can be swapped around with Fl_Tree_Item::swap_children(),
+/// items can be moved around with Fl_Tree_Item::move(),
+/// an item's children can be walked with Fl_Tree_Item::first() and Fl_Tree_Item::next(), +/// an item's children can be indexed directly with Fl_Tree_Item::child() +/// and Fl_Tree_Item::children(),
+/// items can be moved from one subtree to another with Fl_Tree_Item::deparent() +/// and Fl_Tree_Item::reparent(),
/// sorting can be controlled when items are add()ed via sortorder().
/// You can walk the entire tree with first() and next().
/// You can walk visible items with first_visible_item() -- cgit v1.2.3