Describes the way two values can be compared.
These values can be used with a [callbackGLib.CompareFunc]. However, a GCompareFunc is allowed to return any integer values. For converting such a value to a GtkOrdering value, use [funcGtk.Ordering.from_cmpfunc].
GLib
GCompareFunc
GtkOrdering
Gtk
the two values are equal
the first value is larger than the second
the first value is smaller than the second
Describes the way two values can be compared.
These values can be used with a [callback
GLib
.CompareFunc]. However, aGCompareFunc
is allowed to return any integer values. For converting such a value to aGtkOrdering
value, use [funcGtk
.Ordering.from_cmpfunc].