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 [[email protected]_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




2022 vala-language.org