On Wed, Jan 22, 2003 at 05:36:24PM +0100, Alessandro Pellizzari wrote:
> But I created thos widgets with "Y expand" TRUE and now those containers
> (now "empty") keep on expanding vertically.
>
> Is there a way to set "Y expand" to FALSE at runtime (and then back TRUE
> when re-show()-n?)
I often do that in my app (though I usually do that with label). The
only way I have found to make this work is setting a fixed size for the
container widget that holds the hiding component. You can do that in
Glade by using the third tab (Common), or in pure PyGTK (ooh) by calling
GtkWidget.set_usize(width, height)
If there's a better solution I'd sure like to hear it.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/