setWrap

open fun setWrap(wrap: WrapMode)

Sets the wrap mode.

The wrap mode only has effect if a width is set on the layout with method@Pango.Layout.set_width. To turn off wrapping, set the width to -1.

The default value is %PANGO_WRAP_WORD.

Parameters

wrap

the wrap mode