Re: gtktreeview sort string function
- From: "Kristian Rietveld" <kris gtk org>
- To: "Johnson Wong" <jjwh tpg com au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtktreeview sort string function
- Date: Mon, 24 Nov 2008 16:54:33 +0100
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]