TextIter.togglesTag

This is equivalent to (TextIter.startsTag || TextIter.endsTag), i.e. it tells you whether a range with tag applied to it begins or ends at iter.

class TextIter
bool
togglesTag

Parameters

tag TextTag

a gtk.TextTag, or NULL

Return Value

Type: bool

whether tag is toggled on or off at iter