Re: GtkComboBox can show tree structure? how?
- From: Matthias Clasen <mclasen redhat com>
- To: Olivier Sessink <lists olivier pk wau nl>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkComboBox can show tree structure? how?
- Date: Wed, 26 Jan 2005 15:55:32 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]