On Thu, 2008-09-11 at 17:03 -0400, Adam Tauno Williams wrote: > Can a NodeStore/NodeView be sorted? In a TreeView I'd call the > SetSortFunc on the model (like a Gtk.ListStore). But NodeStore > doesn't have any obvious way to set a sort function.
There's an open bug report to add sorting to NodeStore. It has a partial patch from Bradford Hovinen, but I never got the time to merge it up and finish it. https://bugzilla.novell.com/show_bug.cgi?id=319546 Now that we have GInterface registration, I think I'd like to move NodeStore to use an internal managed TreeModel implementation and get rid of the glue model it currently utilizes. Then the TreeSortable interface could be implemented in managed code as well to provide sorting on the NodeStore. Maybe I'll make that an evening and weekend project, or of course, I'd be happy to work with anyone who wants to take a stab at it and provide a patch. -- Mike Kestner <[EMAIL PROTECTED]> _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list