Collation

Describes how a class@Gtk.StringSorter turns strings into sort keys to compare them.

Note that the result of sorting will in general depend on the current locale unless the mode is @GTK_COLLATION_NONE.

Since

4.10

Entries

Link copied to clipboard

Don't do any collation

Link copied to clipboard

Use func@GLib.utf8_collate_key

Link copied to clipboard

Use func@GLib.utf8_collate_key_for_filename

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Collation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.