In gtk.py, there is a get_window() method for GtkWidget class.
Then you should be able to use all gdkwindow attributes described in
description.py in pygtk package.
Now, you can do a widget.size_request()
Does this help?
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 2/11/00, 6:09:47 PM, "Stephan R.A. Deibel"
<[EMAIL PROTECTED]> wrote regarding [pygtk] Width of a widget?:
> OK, this is pretty basic, but if I have an instance of gtk.GtkVBox I
can't
> say x.width... it says Attribute Error.
> Shouldn't this be defined for all GtkWidgets? Is there some other way
to
> get at this info?
> Thanks,
> - Stephan
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]