Quoting Joe Van Andel <[EMAIL PROTECTED]>:

> Using gtk+-1.2.7,glib-1.2.7,gnome-python-1.0.53 on Redhat 6.1 
> 
> I have a toplevel window that initially shows some status messages. 
> After it processes some data, it creates a table of widgets that control
> the rest of the application.  The number of rows in the table depends on
> the data.  
> 
> How do I force the window to grow to the proper size such that all the
> rows in the table are visible?  (I know that if I had created all the
> widgets before the window was first created that the window would show
> them all.)

Call window.queue_resize(). When the mainloop is run the next time
(I don't know if mainiteration() will work; probably not) the window
will recalculate its size.

-- 
==============================================
Sowatec AG,       CH-8330 Pfäffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, [EMAIL PROTECTED]
==============================================


-------------------------------------------------
This mail sent through IMP: www.hepe.com
-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to