Label.wrapMode

Set wrapMode property.

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

Parameters

propval 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.