set_wrap


Description:

public void set_wrap (WrapMode wrap)

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:

this

a `PangoLayout`

wrap

the wrap mode