On Wed, 2005-01-26 at 21:52 +0100, Olivier Sessink wrote: > Matthias Clasen wrote: > > On Wed, 2005-01-26 at 21:00 +0100, Olivier Sessink wrote: > > > >>According to the docs "The tree model holding the valid choices is not > >>restricted to a flat list, it can be a real tree, and the popup will > >>reflect the tree structure." > >> > > > > > > You can look at testcombo.c for working examples of non-flat comboboxes. > > indeed I can find non-flat combo boxes, but only for flat models. There > is no TreeStore in testcombo.c, so also no combobox that does show a > 'real tree' as suggested by the documentation. > > regards, > Olivier
Look e.g. at create_phylogenetic_tree(). Or maybe you are using 2.4.x ? Non-flat comboboxes are a 2.6 feature. http://cvs.gnome.org/viewcvs/gtk%2B/tests/testcombo.c?rev=1.13&view=auto Matthias _______________________________________________ gtk-app-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
