问题
Here I have a window with a list of groups of rows. In the image above, Path 2 to 6 are children of Group1.
http://i.stack.imgur.com/zb4FB.png
The container used for this tree is tree.hh. What function would I use to make Group1 (and its children) be child of Path 10. I don't want to delete rows and put them back again, just re-parent. Thanks!
回答1:
I guess you should look at ::move_after()
来源:https://stackoverflow.com/questions/10801020/how-to-reparent-using-tree-hh