Package: gtk

Function gtk-text-iter-equal

Lambda List

gtk-text-iter-equal (lhs rhs)

Arguments

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

Return Value

True if the iterators point to the same place in the text buffer.

Details

Tests whether two iterators are equal, using the fastest possible mechanism.

This function is very fast. You can expect it to perform better than e.g. getting the character offset for each iterator and comparing the offsets yourself. Also, it is a bit faster than the function gtk-text-iter-compare.
 

See also

2021-6-15