enum Gtk::SorterOrder

Overview

Describes the type of order that a Gtk::Sorter may produce.

Defined in:

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

Enum Members

Partial = 0_u32

A partial order. Any Gtk::Ordering is possible.

None = 1_u32

No order, all elements are considered equal. gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL.

Total = 2_u32

A total order. gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL if an item is compared with itself. Two different items will never cause this value to be returned.

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

def partial? #

def total? #