[pygtk] Hide scrollbar

Hugo Teso dixieflatl at gmail.com
Fri Sep 23 18:45:51 WST 2011


Hi list!

I would like to hide the scrollbar of a scrolledwindow but without using
the gtk.POLICY_NEVER. If I use that policy the text won't be scrolled
and, as it's quite large, the window grows too much.

I tried getting the scrollbar with get_vscrollbar() and then using
hide(), but it doesn't work; also setting a width of 0 for the scrollbar
won't work.

Any ideas, please?

Regards!


More information about the pygtk mailing list