Package: gtk

Function gtk-text-iter-starts-tag

Lambda List

gtk-text-iter-starts-tag (iter tag)

Arguments

iter -- a gtk-text-iter instance
tag -- a gtk-text-tag object, or nil

Return Value

A boolean whether the iterator is the start of a range tagged with tag.

Details

Returns true if the tag is toggled on at exactly this point. If tag is nil, returns true if any tag is toggled on at this point.

Note that if the function gtk-text-iter-starts-tag returns true, it means that the iterator is at the beginning of the tagged range, and that the character at the iterator is inside the tagged range. In other words, unlike the function gtk-text-iter-ends-tag, if the function gtk-text-iter-starts-tag returns true, the function gtk-text-iter-has-tag will also return true for the same parameters.

Since 3.20
 

See also

2021-6-13