[pygtk] How to add items to an empty ComboBox / ComboBoxEntry (created with glade) ?

Mats Taraldsvik mats.taraldsvik at bickeringleague.net
Sun Sep 21 23:45:02 WST 2008


Dear list,

I'm creating an application with pyGTK and Glade. In this I want to
populate a combobox(2) depending on the selected item in another
combobox(1).

Usually, I add None as an item of the comboboxes in glade, because
nothing happens when I try to add items to an empty combobox. However,
since I have to repopulate a combobox(2), I need the proper solution,
since I have to empty it depending on combobox(1).

Regards,
Mats Taraldsvik



More information about the pygtk mailing list