Hello all,

How does one install a custom sort with Gtk.NodeStore? I've tried the
following:

        entries = new NodeStore (typeof (RegisterEntry));
        sortedEntries = new TreeModelSort (entries);
        view = new TreeView (sortedEntries);

Compilation fails because a NodeStore does not appear as a TreeModel to
the C# compiler. If I cast explicitly to a TreeModel, then there is a
run-time failure of a similar nature. Is there another way to do this
using NodeStore?

-- 
Bradford Hovinen              http://www.math.utoronto.ca/hovinen/
Department of Mathematics     Email:  hovinen at math.utoronto.ca
University of Toronto
40 St. George St., Room 6290
Toronto, ON, M5S 2E4 Canada

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to