bradlis7
bradlis7

Reputation: 3489

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 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.

Upvotes: 0

Views: 214

Answers (2)

bradlis7
bradlis7

Reputation: 3489

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.

Upvotes: 1

Manuel Ceron
Manuel Ceron

Reputation: 8456

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

Upvotes: 0

Related Questions