On Tue, 29 Jan 2008 04:49:40 +0000 Nathaniel Smith wrote:

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

It does, thanks a lot, exactly what I wanted :-) Now I just have to add
some border widths, and that should be it.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to