[Gtk-sharp-list] Disabling the built-in sorting in ListStore

naijireja naijireja naijireja at yahoo.com
Sun Apr 8 11:17:48 EDT 2007


Hi all,

I finally got GTK# running under .NET 2.0 using the installer provided at Novell's site.  I'm having a lot of fun with this toolkit and I like it far better than Windows.Forms for what it offers.

I'm almost done working on a paged navigation widget for the data that I have in my application.  The only problem that I have now is that, because the data is paged, the columns must be sorted across the entire data using a custom algorithm, rather than just within the page using GTK#'s built-in algorithm.  I want to completely disable GTK#'s built-in sorting while still allowing the user to click on the columns and sort using my custom algorithm.

I tried adding a delegate to the list store's SortColumnChanged, but this didn't prevent GTK# from interfering with the sort algorithm.

Is it possible to disable the built-in sorting?

Thanks,
naijireja

 
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070408/302b18e2/attachment.html 


More information about the Gtk-sharp-list mailing list