:right-sidebar: True WrapMode =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: WrapMode :no-contents-entry: Describes a type of line wrapping. Fields ------ .. rst-class:: interim-class .. class:: WrapMode :no-index: .. attribute:: CHAR Wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see :func:`~gi.repository.Pango.get_log_attrs`) .. attribute:: NONE Do not wrap lines; just make the text area wider .. attribute:: WORD Wrap text, breaking lines in between words .. attribute:: WORD_CHAR Wrap text, breaking lines in between words, or if that is not enough, also between graphemes