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 [method@Gtk.Label.set_wrap])

The default is [enum@Pango.WrapMode.word], which means wrap on word boundaries.

For sizing behavior, also consider the [property@Gtk.Label:natural-wrap-mode] property.

Parameters:

this

a label

wrap_mode

the line wrapping mode