Re: [pygtk] Width of a widget?

2000-02-11 Thread James Henstridge
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 F

Re: [pygtk] Width of a widget?

2000-02-11 Thread Hassan Aurag
t;<<<<<<<<<<<<<<< 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

Re: [pygtk] Width of a widget?

2000-02-11 Thread Hassan Aurag
;>> 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.GtkVB

[pygtk] Width of a widget?

2000-02-11 Thread Stephan R.A. Deibel
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]