Hi:
Quickly using the example code from the Mono tutorials:
Gtk.TreeIter iter = musicListStore.AppendValues ("Dance");
musicListStore.AppendValues (iter, "Fannypack", "Nu Nu (Yeah Yeah)
(double j and haze radio edit)");
iter = musicListStore.AppendValues ("Hip-hop");
musicListStore.AppendValues (iter, "Nelly", "Country Grammer");
In my own project I understand how to grab the currently selected tree row,
but how can I also get the value for the parent?
Basically, like in this example if the user selected the row with the value
"FannyPack", I would also like to be able to get the parent "Dance" value.
Or, if "Nelly" is the row selected, I only want also its parent's value "Hip
Hop".
I've tried multiple methods, but to failure to just grab the single parent
node value.
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list