:right-sidebar: True WrapMode =================================================================== .. currentmodule:: gi.repository.Pango .. class:: WrapMode :no-contents-entry: ``PangoWrapMode`` describes how to wrap the lines of a ``PangoLayout`` to the desired width. For ``PANGO_WRAP_WORD``\, Pango uses break opportunities that are determined by the Unicode line breaking algorithm. For ``PANGO_WRAP_CHAR``\, Pango allows breaking at grapheme boundaries that are determined by the Unicode text segmentation algorithm. Fields ------ .. rst-class:: interim-class .. class:: WrapMode :no-index: .. attribute:: CHAR The type of the None singleton. .. attribute:: NONE The type of the None singleton. .. versionadded:: 1.56 .. attribute:: WORD The type of the None singleton. .. attribute:: WORD_CHAR The type of the None singleton.