set_width


Description:

public void set_width (int width)

Sets the width to which the lines of the `PangoLayout` should wrap or ellipsized.

The default value is -1: no width set.

Parameters:

this

a `PangoLayout`.

width

the desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed.




2022 vala-language.org