Have you looked at http://code.google.com/p/holly-gtk-widgets/ for an alternate TreeView?
On Tue, Jul 21, 2009 at 2:38 PM, Ronaldo Nascimento<[email protected]> wrote: > I am trying to get the text of an item in a TreeView. The sample code > provides the following: > > static void OnCursorChanged(object obj, EventArgs e) > { > TreeSelection selection = (obj as TreeView).Selection; > > TreeModel model; > TreeIter iter; > > // The iter will point to the selected row > if(selection.GetSelected(out model, out iter)) > Console.WriteLine("Path of selected row = {0}", > model.GetPath(iter)); > } > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
