[pygtk] how to keep toplevel window shrink wrapped around contents

Gian Mario Tagliaretti gianmt at gnome.org
Mon Sep 8 01:08:01 WST 2008


2008/9/7 Karl Ostmo <kostmo a gmail.com>:

Hi Karl

> Often in my applications I have widgets that grow or shrink upon user
> interaction.  It can be a bit unsightly, however, after large widgets are
> collapsed, leaving vast empty spaces in the window.

one way I can think of is to set the resizable property of the window to False.

cheers
-- 
Gian Mario Tagliaretti
GNOME Foundation member
gianmt a gnome.org


More information about the pygtk mailing list