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

True if 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 gtk:text-iter-starts-tag function 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 gtk:text-iter-ends-tag function, if the gtk:text-iter-starts-tag function returns true, the gtk:text-iter-has-tag function will also return true for the same parameters.
 

See also

2024-7-1