set_wrap_mode


Description:

public void set_wrap_mode (WrapMode wrap_mode)

Controls how line wrapping is done.

This only affects the label if line wrapping is on. (See [[email protected]_wrap]) The default is pango_wrap_word which means wrap on word boundaries.

For sizing behavior, also consider the [[email protected]:natural-wrap-mode] property.

Parameters:

this

a `GtkLabel`

wrap_mode

the line wrapping mode




2022 vala-language.org