[pygtk] determine size needed to display scrolledwindow without scrollbars

Wildemar Wildenburger wildemar at freakmail.de
Mon Jan 28 03:39:05 WST 2008


Eike Nicklas wrote:
> I am writing a program that uses a gtk.ScrolledWindow to display a
> gtk.Treeview. Now I would like to automatically determine the (minimum)
> windowsize needed to display the Treeview without scrollbars. Is there
> a simple way to do this?
>
>   
This is sort of a blind shot, sort of, but maybe the "requested-size" 
properties give that info?

/W


More information about the pygtk mailing list