On Mon, 28 Aug 2000 11:16:28 -0400, Matt Wilson <[EMAIL PROTECTED]> wrote:
> call the widget's "size_allocation()" method.  This will only give you
> good data after the allocation step has been done for the widget.

Isn't that only for setting the size?

I'd assumed that pygtk didn't have something like this
widget->allocation.width/height/x/y

and have been using a little C binding to get this.

> 
> Matt
> 
> On Mon, Aug 28, 2000 at 03:42:11PM +0200, Martin Grimme wrote:
> > Hello,
> > 
> > I want to get the current size of a container widget (like GtkHBox or GtkLayout).
> > Is there any possibility to get these values at runtime?
> > 
> > I can get the size of a window by using the configure-event, but this doesn't seem
> > to work for other widgets...
> > 
> > Please help me!
> > 
> > Bye,
> > Martin Grimme
> > 
> > 
> > _______________________________________________
> > pygtk mailing list   [EMAIL PROTECTED]
> > http://www.daa.com.au/mailman/listinfo/pygtk
> 
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> 


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to