Re: Force sorting of an GtkListStore



> Is it posibile to proper reset the default sort function? There is the
> GtkTreeModelSort which provides such a function
> (gtk_tree_model_sort_reset_default_sort_func) but i don't want to change
> my whole application to use GtkTreeModelSort instead of GtkListStore
> just to reset the default sort function.

Why would you need to rewrite your application? GtkTreeModelSort is a
virtual model you stack on top of another model, and send to GtkTreeView
instead of the model you usually send.


Stian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]