Returns TRUE if tag is toggled off at exactly this point. If tag is NULL, returns TRUE if any tag is toggled off at this point.

Note that if TextIter.endsTag returns TRUE, it means that iter is at the end of the tagged range, but that the character at iter is outside the tagged range. In other words, unlike TextIter.startsTag, if TextIter.endsTag returns TRUE, TextIter.hasTag will return FALSE for the same parameters.

class TextIter


tag TextTag

a gtk.TextTag, or NULL

Return Value

Type: bool

whether iter is the end of a range tagged with tag