Dynamically adding Items to CellRendererCombo in Liststore : Pygtk
问题 I am trying add items to CellRendererCombo dynamically. See the code below. When I click on 'Samsung' the corresponding items is listed in the combo box. Now the problem is, when I click 'LG' , the items corresponds to 'Samsung' is listed. In short, the combo box is showing items for the previously selected key, not for the current key. How can I solve this issue? #!/usr/bin/env python import gtk,os class CellRendererCombo: def __init__(self): window = gtk.Window() window.set_default_size(200