wxTreebook多层次结构

huangapple go评论53阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月8日 21:10:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76432207.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定