set_single_paragraph_mode


Description:

public void set_single_paragraph_mode (bool setting)

Sets the single paragraph mode of this.

If setting is true, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. Used when you want to allow editing of newlines on a single text line.

The default value is false.

Parameters:

this

a `PangoLayout`

setting

new setting




2022 vala-language.org