@accepts(GObject.Value, GObject.Value) @returns(gint) def gvalue_compare(a, b)
Compares @a and @b for sorting. @a and @b must contain the same value type for the comparison to be valid. Comparisons for some value types are not particularly useful.
a : |
left hand side |
b : |
right hand size |
Returns : |
-1 if @a < @b, 0 if @a == @b, 1 if @a > @b |