What do you want? The widget's prefered minimum size? If so, use:
width, height = widget.size_request()
To get the actual allocated size of the widget, use:
x, y, width, height = widget.get_allocation()
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Fri, 11 Feb 2000, Stephan R.A. Deibel wrote:
> 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]