Package: gtk

Function gtk:text-iter-begins-tag

Lambda List

gtk:text-iter-begins-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 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 the gtk:text-iter-begins-tag function returns true if the iterator is the start of the tagged range. The gtk:text-iter-has-tag function tells you whether an iterator is within a tagged range.

Warning

The gtk:text-iter-begins-tag function has been deprecated since version 3.20 and should not be used in newly written code. Use the gtk:text-iter-starts-tag function instead.
 

See also

2024-6-24