[pygtk] determine size needed to display scrolledwindow without
scrollbars
Eike Nicklas
lists at ephys.de
Tue Jan 29 05:21:07 WST 2008
On Sun, 27 Jan 2008 19:39:05 +0100 Wildemar Wildenburger wrote:
> 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?
>
I could not find such a property or anything similiar.
print datawindow.get_property('height-request') returns -1, as expected.
Thanks anyway,
Eike
More information about the pygtk
mailing list