[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
gtktreeview sort string function
- From: Johnson Wong <jjwh tpg com au>
- To: gtk-app-devel-list gnome org
- Subject: gtktreeview sort string function
- Date: Tue, 25 Nov 2008 02:25:05 +1100
Hi guys,
What compare functions does gtktreeview-columns use to sort strings?
I have my own GList sorted using g_ascii_strcasecmp(str1, str2) but this
is different then gtktreeview internal sorting function.
The tree view puts lower case text above upper case text but
g_ascii_strcasecmp is the reverse of that eg:
tree view sorting
------
abc
hello
HELLO
xyz
g_ascii_strcasecmp
----
abc
HELLO
hello
xyz
Many Thanks
Johnson
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]