set_indent


Description:

public void set_indent (int indent)

Sets the width in Pango units to indent each paragraph.

A negative value of indent will produce a hanging indentation. That is, the first line will have the full width, and subsequent lines will be indented by the absolute value of indent.

The indent setting is ignored if layout alignment is set to pango_align_center.

The default value is 0.

Parameters:

this

a `PangoLayout`

indent

the amount by which to indent




2022 vala-language.org