Package: gio

Callback gio:compare-data-func

Syntax

lambda (a b) => result

Arguments

a -- a g:object instance
b -- a g:object instance to compare with
result -- negative integer if a < b, zero if a = b, positive integer if a > b

Details

Specifies the type of a comparison function used to compare two values. The function should return a negative integer if the first value comes before the second, 0 if they are equal, or a positive integer if the first value comes after the second.
 

See also

2024-3-31