rendered paste body ##colTypes self.colTypesStore = gtk.ListStore(str) self.colTypesStore.append( ['varchar(20)']) self.colTypesStore.append( ['int(11)']) self.colTypesStore.append( ['timestamp']) combo = self.wTree.get_widget('editColTypes'); # combo = gtkComboBox combo.clear() combo.set_model(self.colTypesStore) cell = gtk.CellRendererText() combo.pack_start(cell, True) combo.add_attribute(cell, 'text', 0) # print modelRow[1] == varchar(20) combo.set_value_in_list(modelRow[1], True) combo.set_active(1)