[Gtk-sharp-list] Heterogeneous Nodes In Gtk.NodeView / Gtk.NodeStore

Mike Kestner mkestner at gmail.com
Mon Apr 20 16:24:03 EDT 2009

On Mon, 2009-04-20 at 20:56 +0200, Christian Hoff wrote:

> That's why your approach won't work. NodeStore will look for these
> attributes in Gtk.NodeStore and won't find any columns at all. Fixing
> this shouldn't be too difficult(just check if the type of the node
> passed to AddNode has already been scanned for TreeNodeValueAttributes,
> if not, scan the type and cache the accessors somehow), but it would
> result in a loss of performance. If you consider to fix that yourself,
> you should write a mail to Mike Kestner (mkestner at gmail.com) to ask him
> whether we want to fix that in Gtk#.

There's no need to send me personal mails about gtk-sharp.  I read the
mailing list.  ;-)

As the constructor for NodeStore implies, the class is designed around a
homogeneous node set.  Also, keep in mind that NodeStore was an
experiment which never really got completed. It does not support the
sorting or drag and drop interfaces, etc...

Most people who start using it find it lacking in many ways.  I don't
think it's worth investing much energy in it at this point, especially
in this direction.

Mike Kestner <mkestner at gmail.com>

More information about the Gtk-sharp-list mailing list