[pygtk] Dynamically adding glade widgets?

Mitko Haralanov mitko at qlogic.com
Thu Feb 28 09:50:41 WST 2008


I used glade to design my GUI and in one of the dialogs I have a HBox
with only one cell. In that cell, I have a tree of widgets which form
the content of the cell.

What I want to have is a button, which the user can click and the
action would be that a new tree of widgets (identical to the original
one) would be packed at the end of the HBox.

Can this be done using some glade trick or do I have to build the tree
of widgets in the Python "clicked" signal handler?

-- 
Mitko Haralanov					 mitko at qlogic.com
Senior Software Engineer			     650.934.8064
HSG InfiniBand Engineering		    http://www.qlogic.com

==========================================
There are no games on this system.


More information about the pygtk mailing list