Label.setWrapMode

void setWrapMode(pango.types.WrapMode wrapMode)

Controls how line wrapping is done.

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

For sizing behavior, also consider the gtk.label.Label.naturalWrapMode property.

Parameters

wrapModethe line wrapping mode