Label.wrapMode

pango.types.WrapMode wrapMode() @property nothrow

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 gtk.label.Label.naturalWrapMode property.

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

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 gtk.label.Label.naturalWrapMode property.