:right-sidebar: True Collation =================================================================== .. currentmodule:: gi.repository.Gtk .. versionadded:: 4.10 .. class:: Collation :no-contents-entry: Describes how a :obj:`~gi.repository.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``. Fields ------ .. rst-class:: interim-class .. class:: Collation :no-index: .. attribute:: FILENAME Use :obj:`~gi.repository.GLib.utf8_collate_key_for_filename` .. attribute:: NONE Don't do any collation .. attribute:: UNICODE Use :obj:`~gi.repository.GLib.utf8_collate_key`