Package: gtk

GEnum gtk:ordering

Declaration

(gobject:define-genum "GtkOrdering" ordering
  (:export t
   :type-initializer "gtk_ordering_get_type")
  (:smaller -1)
  (:equal 0)
  (:larger 1))  

Values

:smaller
The first value is smaller than the second.
:equal
The two values are equal.
:larger
The first value is larger than the second.

Details

Describes the way two values can be compared. These values can be used with the g:compare-data-func callback function. However, the g:compare-data-func function is allowed to return any integers. For converting such a value to a gtk:ordering value, use the gtk:ordering-from-cmpfunc function.
 

See also

2024-10-18