[Glade-users] Combobox via treestore
- From: paskari007 at yahoo.ca (Peyman)
- Subject: [Glade-users] Combobox via treestore
- Date: Fri, 12 Dec 2008 20:21:50 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]