diff options
| author | Greg Ercolano <erco@seriss.com> | 2018-04-10 18:37:18 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2018-04-10 18:37:18 +0000 |
| commit | c7080e826e99e1db17ff57bf02ae981aec371d23 (patch) | |
| tree | 640a752a2d3fe37bb0409a5cf37ddc8d7edd487a /src | |
| parent | 798823f7dc578c2ddef3c97b723d771381fed479 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Tree_Item.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Fl_Tree_Item.cxx b/src/Fl_Tree_Item.cxx index 9b0239617..2b3e3602a 100644 --- a/src/Fl_Tree_Item.cxx +++ b/src/Fl_Tree_Item.cxx @@ -454,6 +454,7 @@ int Fl_Tree_Item::reparent(Fl_Tree_Item *newchild, int pos) { /// - 0: Success /// - -1: range error (e.g. if \p 'to' or \p 'from' out of range). /// - (Other return values reserved for future use) +/// \see move_above(), move_below(), move_into(), move(Fl_Tree_Item*,int,int) /// int Fl_Tree_Item::move(int to, int from) { return _children.move(to, from); @@ -475,6 +476,8 @@ int Fl_Tree_Item::move(int to, int from) { /// - -6: could not reparent at \p 'pos' /// - (Other return values reserved for future use.) /// +/// \see move_above(), move_below(), move_into(), move(int,int) +/// int Fl_Tree_Item::move(Fl_Tree_Item *item, int op, int pos) { Fl_Tree_Item *from_parent, *to_parent; int from, to; @@ -529,6 +532,8 @@ int Fl_Tree_Item::move(Fl_Tree_Item *item, int op, int pos) { /// On error returns a negative value; /// see move(Fl_Tree_Item*,int,int) for possible error codes. /// +/// \see move_below(), move_into(), move(int,int), move(Fl_Tree_Item*,int,int) +/// int Fl_Tree_Item::move_above(Fl_Tree_Item *item) { return move(item, 0, 0); } @@ -540,6 +545,8 @@ int Fl_Tree_Item::move_above(Fl_Tree_Item *item) { /// On error returns a negative value; /// see move(Fl_Tree_Item*,int,int) for possible error codes. /// +/// \see move_above(), move_into(), move(int,int), move(Fl_Tree_Item*,int,int) +/// int Fl_Tree_Item::move_below(Fl_Tree_Item *item) { return move(item, 1, 0); } @@ -551,6 +558,8 @@ int Fl_Tree_Item::move_below(Fl_Tree_Item *item) { /// On error returns a negative value; /// see move(Fl_Tree_Item*,int,int) for possible error codes. /// +/// \see move_above(), move_below(), move(int,int), move(Fl_Tree_Item*,int,int) +/// int Fl_Tree_Item::move_into(Fl_Tree_Item *item, int pos) { return move(item, 2, pos); } |
