[pygtk] determine size needed to display scrolledwindow without scrollbars

Nathaniel Smith njs at pobox.com
Tue Jan 29 13:49:40 WST 2008


On Sun, Jan 27, 2008 at 06:47:42PM +0100, 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?

Does my_treeview.size_request() give anything useful?

-- Nathaniel

-- 
Electrons find their paths in subtle ways.


More information about the pygtk mailing list