TextIter.insideWord

Determines whether the character pointed by iter is part of a natural-language word (as opposed to say inside some whitespace).

Word breaks are determined by Pango and should be correct for nearly any language.

Note that if gtk.text_iter.TextIter.startsWord returns true, then this function returns true too, since iter points to the first character of the word.

class TextIter
bool
insideWord
()

Return Value

Type: bool

true if iter is inside a word