[Gtk-sharp-list] NodeStore

Peter Williams peter@newton.cx
Fri, 26 Dec 2003 00:41:36 -0500

Hi Todd,

On Thu, 2003-12-25 at 23:42, Todd Berman wrote:
> How usable is NodeStore now?
> --Todd

I've had a few problems with it. It doesn't implement the TreeModel
interface, so if you try to do certain operations you'll get an invalid
cast exception -- manipulating the TreeSelection was where I ran into
problems. Also, there seems to be an ownership issue with GValues that
the NodeStore passes back to the treeview, resulting in references to
freed data and crashes as soon as you GC those GValues.

I'm sure these problems are soluble, but there hasn't been much work on
the NodeStore lately, so I'd suggest using a TreeStore for the time


Peter Williams                          peter@newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power