enum Gtk::Collation

Overview

Describes how a 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.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

None = 0_u32

Don't do any collation

Unicode = 1_u32

Use [func@GLib.utf8_collate_key]

Filename = 2_u32

Use [func@GLib.utf8_collate_key_for_filename]

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def filename? #

def none? #

def unicode? #