TextIter.hasTag

bool hasTag(gtk.text_tag.TextTag tag)

Returns true if iter points to a character that is part of a range tagged with tag.

See also [gtk.text_iter.TextIter.startsTag] and [gtk.text_iter.TextIter.endsTag].

Parameters

taga [gtk.text_tag.TextTag]

Returns

whether iter is tagged with tag