[Gtk-sharp-list] TreeModel With Invisible Columns?
Michael Hutchinson
m.j.hutchinson at gmail.com
Wed Jan 5 00:12:43 EST 2011
2011/1/4 Jacek Rużyczka <stacheldraht at interia.pl>:
> another tricky issue: I've got a TreeView plus a TreeModel (this can be a
> ListStore or TreeStore) linked to it. Now I don't wanna display all the
> columns of the TreeModel in the TreeView. Call it invisible columns if you
> wish.
>
> How can I link a TreeModel with, say, 6 columns to a 4-column TreeView whereas
> only cols 1, 3, 5, and 6 shall be displayed in the TreeView?
Columns in the model have *no* implicit relationship to columns in the
view. It all depends on what mappings you define.
Maybe this will help:
http://stackoverflow.com/questions/4511218/how-to-use-gtk-treeview-correctly/4512641#4512641
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Gtk-sharp-list
mailing list