Gustavo J. A. M. Carneiro wrote:

A Ter, 2004-06-15 �s 03:00, Dennis Craven escreveu:


Hello,

Using PyGTK 2.4, I've added a gtk.Expander as the last (bottom) child of
a gtk.VBox. When the Expander expands, all is well. But when the
expander contracts again, I would like the parent VBox and it's parent
gtk.Dialog to shrink down to original size again.

What is the magic combination of settings for a VBox or Dialog that will
make it snap back when the Expander contracts? I'm not having much luck
playing with this.



See http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-policy

Looks like pygtk documentation is missing this method...


It's a deprecated function. I haven't included deprecated methods unless they became deprecated in 2.2 or 2.4

John

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to