PyGTK 水平列表
我有一个演示程序,并且有一个带有幻灯片的垂直列表。我想放置一个水平列表以便重新排序,并在幻灯片之间轻松移动。
它看起来像这样,甚至可能有一个水平滚动条:
+------+------+------+------+-+
| S1 | S2 | S3 | S4 | |
<===========================> Scrollbar
+-----------------------------+
PyGTK 是否支持我忽略的水平列表,或者我需要使用表格来实现它?或者也许更好的界面只是有另一个垂直列,但我有点喜欢水平列表的想法。
I have a presentation program, and I have a vertical list with slides. I was wanting to put a horizontal list for re-ordering, and easy movement between slides.
It would look something like this, and might even have a horizontal scrollbar:
+------+------+------+------+-+
| S1 | S2 | S3 | S4 | |
<===========================> Scrollbar
+-----------------------------+
Does PyGTK have support for a horizontal list that I am overlooking, or do I need to implement it using a table? Or maybe a better interface would be just to have another vertical column, but I kind of like the idea of a horizontal list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来 CellView 可能就是我正在寻找的为了。我必须尝试一下才能确定,但这对我来说听起来不错。
It looks like the CellView may be what I'm looking for. I'll have to play with it to make sure, but it sounds good to me.
为什么不使用 HBox ?将其放在 Viewport 和 ScrolledWindow 并且您将获得滚动支持。
Why don't you use an HBox? Put it on a Viewport and a ScrolledWindow and you will have scrolling support.