Gtk.WrapMode

Describes a type of line wrapping.

WrapMode.NONE

do not wrap lines; just make the text area wider

WrapMode.CHAR

wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see Pango.get_log_attrs)

WrapMode.WORD

wrap text, breaking lines in between words

WrapMode.WORD_CHAR

wrap text, breaking lines in between words, or if that is not enough, also between graphemes