[pygtk] Resizing an hbox

John Finlay finlay at moeraki.com
Sun Sep 13 01:39:55 WST 2009


Fabrice DELENTE wrote:
> Hello.
>
> I have an interface which is a simple toplevel window containing an hbox
> which contains a gtk.DrawingArea, designed in glade.
>
> How can I catch the fact that the hbox or the DrawingArea are resized when
> the toplevel is resized in the window manager?
>
> I thought that connecting the check-resize event of the hbox would be
> enough, but it doesn't work. Is there a flag to set somewhere?
>
> Thanks!
>
>   
Try the "size-allocate" signal.

John


More information about the pygtk mailing list