How to reparent using tree.hh

让人想犯罪 __ 提交于 2019-12-12 04:32:50

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!