set_justify


Description:

public void set_justify (Justification jtype)

Sets the alignment of the lines in the text of the label relative to each other.

gtk_justify_left is the default value when the widget is first created with Label. If you instead want to set the alignment of the label as a whole, use set_halign instead. set_justify has no effect on labels containing only a single line.

Parameters:

this

a Label

jtype

a Justification




2022 vala-language.org