On Fri, Jul 24, 2009 at 6:19 PM, Slug<[email protected]> wrote: > I'm really having a lot of trouble figuring out how I should go about > displaying a bunch of numeric values as fractions in a TreeView. If I > convert them to strings and load them into the model, then the sorting is > all out of order when I click on the column header. It looks like this > (which is wrong): > 1 1/4 > 11 1/2 > 2 3/4
You might look at Gtk.TreeSortable.SetDefaultSortFunc. Most models implement the TreeSortable interface. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
