如何为 gtk 创建多行 wxNotebook?
wxWidgets 仅在 Windows 平台上为笔记本提供多行选项卡。是否有一种简单的方法可以在基于 GTK 的平台上提供类似的功能,或者我是否坚持唯一的选择,即创建支持它的自定义笔记本类?
wxWidgets provides for notebooks with multiple lines of tabs only on Windows platforms. Is there a simple way to provide similar functionality on GTK based platforms, or am I stuck with the only option being to create a customized notebook class that supports it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您所说,您唯一的选择是创建支持它的自定义笔记本类。 GTK 通过提供左箭头和右箭头来解决“选项卡太多”问题,您可以使用它们来翻阅选项卡。
在我看来,多行选项卡无论如何都是一个可怕的主意。看看这些怪物。
As you say, you are stuck with the only option being to create a customized notebook class that supports it. GTK solves the "too many tabs" problem by providing left and right arrows with which you can page through the tabs.
Multiline tabs are a horrible idea anyway in my opinion. Take a look at these monstrosities.