英文:
wxTreebook with multiple levels
问题
我试图创建一个具有多个(特别是3个)级别页面的wxTreebook对象,但似乎不可能。
有人能否说一下是否可以使用wxTreebook来创建这样的对象,还是必须使用wxTreeCtrl?
这里是我想要它看起来的样子。
英文:
I'm trying to create a wxTreebook object with multiple (3 in particular) levels of pages but it seems to be imposible.
Can anyone say if one can create such objects with wxTreebook or it is necessaryto use wxTreeCtrl?
enter image description here
This here is want i want it to look.
答案1
得分: 0
wxTreebook
确实仅限于单层深度,因为考虑到深层嵌套可能会令用户感到困惑。所以,您将不得不使用独立的wxTreeCtrl
来实现您想要的效果——尽管从UI的角度来看,简化层次结构并使用wxTreebook
可能是一个更好的主意。
英文:
wxTreebook
is indeed limited to a single level of depth because it was thought that having deeper nesting would be too confusing for the users. So you will have to use a standalone wxTreeCtrl
to achieve what you want -- although perhaps simplifying the hierarchy and using wxTreebook
could be a better idea from the UI point of view.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论