[pygtk] Viewport without ScrolledWindow

Omar Machado Balbuena Neto omarb at inf.ufrgs.br
Thu May 25 13:11:39 WST 2006


Hello,

I want to develop a ticker-like application and I'm trying to use a 
viewport which will contain either a Label or a HBox of Labels. The thing 
is, I can't force a width for my viewport, it will always be at least of 
the size of the smallest Label. But I want to set its size, and I want it 
to ALWAYS KEEP THAT SIZE, no matter what I do to the children widgets.

The only way I found to do that was defining a ScrolledWindow, but it will 
force me to use a visible scrollbar (if I hide it, it will try to show 
everything).

Any suggestion?

Thanks in advance,

Balbuena


More information about the pygtk mailing list