[pygtk] changing packing properties during runtime

Kim Adil kadil at proactiveindustrial.net
Tue Jul 28 08:13:04 WST 2009


Hello,

I have 3 expanders packed into a vbox. And in the box of the expanders, 
I have a treeview in a scrollwindow . I have played around with the 
combination of properties in glade, and I want the expanded expanders to 
use as much screen real-estate as possible when expanded, which means:

- the expanded expanders, need to have their "expand" packing properties 
set to True

and conversely

- the collapsed expanders need need to have their "expand" packing 
properties set to False.

I cannot seem to find how to set these properties programatically, but 
it is in the packing properties tab in glade. I hope I do not need to 
repack the widgets to get the effect I am loooking for? Any suggestions?

Thanks,
Kim


More information about the pygtk mailing list