enum Gtk::Ordering


Describes the way two values can be compared.

These values can be used with a GLib#CompareFunc. However, a GCompareFunc is allowed to return any integer values. For converting such a value to a GtkOrdering value, use Gtk::Ordering#from_cmpfunc.

Defined in:


Enum Members

Smaller = -1

the first value is smaller than the second

Equal = 0

the two values are equal

Larger = 1

the first value is larger than the second

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

def larger? #

def smaller? #