Package: pango

GEnum pango:wrap-mode

Declaration

(gobject:define-genum "PangoWrapMode" wrap-mode
  (:export t
   :type-initializer "pango_wrap_mode_get_type")
  (:word 0)
  (:char 1)
  (:word-char 2)
  #+pango-1-56
  (:none 3))  

Values

:word
Wrap lines at word boundaries.
:char
Wrap lines at character boundaries.
:word-char
Wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.
:none
Do not wrap.

Details

The pango:wrap-mode enumeration describes how to wrap the lines of a pango:layout object to the desired width. For the :wrap-word value, Pango uses break opportunities that are determined by the Unicode line breaking algorithm. For the :wrap-char value, Pango allows breaking at grapheme boundaries that are determined by the Unicode text segmentation algorithm.
 

See also

2025-3-28