[Glade-users] Combobox via treestore
Peyman
paskari007 at yahoo.ca
Fri Dec 12 15:21:50 EST 2008
Hello
I am trying to set up a treefilter and connect it to my combobox
here is the code I have
treeview=wtree.get_widget('main_treeview')
treestore=treeview.get_model()
treestore_filter=treestore.filter_new()
treestore_filter.set_visible_func(...)
combobox=gtk.ComboBox()
combobox.set_model(treestore_filter)
...
Missing code
...
after which I call refilter() regularly. Now I think I'm missing some
code regarding cells and what not, correct? One thing I've learned
with these lists and trees is that they are extremely complicated.
Cheers
Peyman Askari
More information about the Glade-users
mailing list