Label.wrapMode

Get wrapMode property.

  1. pango.types.WrapMode wrapMode [@property getter]
    class Label
    @property
    wrapMode
    ()
  2. pango.types.WrapMode wrapMode [@property setter]

Return Value

Type: pango.types.WrapMode

Controls how the line wrapping is done.

This only affects the formatting if line wrapping is on (see the gtk.label.Label.wrap property). The default is pango.types.WrapMode.Word, which means wrap on word boundaries.

For sizing behavior, also consider the property@Gtk.Label:natural-wrap-mode property.