TextIter.getLanguage

A convenience wrapper around [gtk.text_iter.TextIter.getAttributes], which returns the language in effect at iter. If no tags affecting language apply to iter, the return value is identical to that of [gtk.global.getDefaultLanguage].

Returns

language in effect at iter