Hi list,

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?

Of course, I can try, which size works and use the 'hardcoded' version
window.set_default_size(xwidth, ywidth), but x/ywidth might not be the
correct values on a different platform.

Thanks a lot for your help,
Eike
_______________________________________________
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