Re: gtktreeview sort string function



Hi,

On Mon, Nov 24, 2008 at 4:25 PM, Johnson Wong <jjwh tpg com au> wrote:
What compare functions does gtktreeview-columns use to sort strings?

If I am not mistaking GtkListStore and GtkTreeStore use
g_utf8_collate() by default for comparing strings.  You can override
the sort function used, if wished, using
gtk_tree_sortable_set_default_sort_func().


regards,

-kris.



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