Label.wrapMode

pango.types.WrapMode wrapMode() @property

Get wrapMode property.

Returns

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.

void wrapMode(pango.types.WrapMode propval) @property

Set wrapMode property.

Parameters

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