[Gtk-sharp-list] TreeModel for small collections

Artem Popov tfwo@mail.ru
Thu, 15 Apr 2004 10:13:27 +0700


Hello,
I'm trying to display small collections in a TreeView like this:
> [collection 1]
	[member 1]
	[member 2]
> [collection 2]
	[member 1]
...

I have a class representing the collection, and would like to know how
to make it show in the treeview the way above. Something like a
datafunc, that works for more than row... Does this require implementing
a custom model (and if so, is this possible to implement a model in pure
C#)?

Regards,
Artem.