[Gtk-sharp-list] NodeStore

Vladimir Giszpenc vladimir.giszpenc at gmail.com
Thu May 24 15:13:20 EDT 2007


The nodeView is a really nice widget.  It is taking a little bit of
time for me to get familiar with it, even with the great docs on it.
Right now, I am having trouble getting child nodes.

I can't iterate over all nodes because the nodeStore iterator only
iterates over the root nodes.  What I am looking for is something like
node.ChildNodes over which I can do whatever.  Alternatively and less
elegantly. I am willing to

foreach( TreeNode node in AllNodes)
    if (myNode.Equals(node.Parent))
        //do stuff

However, I am not sure how to get AllNodes including children.  Can
anyone help me?



More information about the Gtk-sharp-list mailing list