TextIter.startsTag
bool startsTag(gtk.text_tag.TextTag tag = null)Returns true if tag is toggled on at exactly this point. If tag is null, returns true if any tag is toggled on at this point.
Note that if [gtk.text_iter.TextIter.startsTag] returns true, it means that iter is at the beginning of the tagged range, and that the character at iter is inside the tagged range. In other words, unlike [gtk.text_iter.TextIter.endsTag], if [gtk.text_iter.TextIter.startsTag] returns true, [gtk.text_iter.TextIter.hasTag] will also return true for the same parameters.
Parameters
tag | a #GtkTextTag, or null |
Returns
whether iter is the start of a range tagged with tag