It derives from <GtkSorter>.
Sorts items by comparing strings.
To obtain the strings to compare, this sorter evaluates a
<GtkExpression>.
It does the comparison in a linguistically correct way using the current locale by normalizing Unicode strings and possibly case-folding them before performing the comparison.
The collation method to use for sorting.
The none value is useful when the expression
already returns collation keys, or strings that need to be compared
byte-by-byte.
The default value, unicode, compares strings
according to the Unicode
collation algorithm.
Its value is a <GtkCollation> (or, to set it,
one of its symbols).
Set it with (set! (string-sorter:collation self) value).
The expression to evaluate on item to get a string to compare with.
Its value is a <GtkExpression>, or #f.
Set it with (set! (string-sorter:expression self) value).
If sorting is case sensitive.
Its value is a boolean.
Set it with (set! (string-sorter:ignore-case self) value).
Gets which collation method the sorter uses.
Passed: a <GtkStringSorter>.
Returned: a <GtkCollation>.
The collation method
Gets the expression that is evaluated to obtain strings from items.
Passed: a <GtkStringSorter>.
Returned: a <GtkExpression>, or #f.
Gets whether the sorter ignores case differences.
Passed: a <GtkStringSorter>.
Returned: a boolean.
#t if self is ignoring case differences
Creates a new string sorter that compares items using the given expression.
Unless an expression is set on it, this sorter will always compare items as invalid.
Passed, or left out: a <GtkExpression>, or
#f.
The expression to evaluate
Returned: a <GtkStringSorter>.
a new <GtkStringSorter>
Sets the collation method to use for sorting.
Passed: a <GtkStringSorter>.
Passed: a <GtkCollation>, or one of its symbols.
the collation method
Sets the expression that is evaluated to obtain strings from items.
The expression must have the type G_TYPE_STRING.
Passed: a <GtkStringSorter>.
Passed, or left out: a <GtkExpression>, or
#f.
Sets whether the sorter will ignore case differences.
Passed: a <GtkStringSorter>.
Passed: a boolean.
#t to ignore case differences