Package: gtk

Function gtk-text-iter-compare

Lambda List

gtk-text-iter-compare (lhs rhs)

Arguments

lhs -- a gtk-text-iter instance
rhs -- another gtk-text-iter instance

Return Value

-1 if lhs is less than rhs, 1 if lhs is greater, 0 if they are equal.

Details

A qsort()-style function that returns negative if lhs is less than rhs, positive if lhs is greater than rhs, and 0 if they are equal. Ordering is in character offset order, i.e. the first character in the text buffer is less than the second character in the text buffer.
 

See also

2021-6-15