enum Gtk::SorterChange

Overview

Describes changes in a sorter in more detail and allows users to optimize resorting.

Defined in:

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

Enum Members

Different = 0_u32

The sorter change cannot be described by any of the other enumeration values

Inverted = 1_u32

The sort order was inverted. Comparisons that returned %GTK_ORDERING_SMALLER now return %GTK_ORDERING_LARGER and vice versa. Other comparisons return the same values as before.

LessStrict = 2_u32

The sorter is less strict: Comparisons may now return %GTK_ORDERING_EQUAL that did not do so before.

MoreStrict = 3_u32

The sorter is more strict: Comparisons that did return %GTK_ORDERING_EQUAL may not do so anymore.

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 different? #

def inverted? #

def less_strict? #

def more_strict? #