开发者

PyGTK Horizontal List

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 开发者_StackOverflow社区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.


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.


Why don't you use an HBox? Put it on a Viewport and a ScrolledWindow and you will have scrolling support.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜