set_justify


Description:

public void set_justify (bool justify)

Sets whether each complete line should be stretched to fill the entire width of the layout.

Stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification may be done in more complex ways, like extending the characters.

Note that this setting is not implemented and so is ignored in Pango older than 1.18.

Note that tabs and justification conflict with each other: Justification will move content away from its tab-aligned positions.

The default value is false.

Also see [method@Pango.Layout.set_justify_last_line].

Parameters:

this

a `PangoLayout`

justify

whether the lines in the layout should be justified