Label.xalign

float xalign() @property

Get xalign property.

Returns

The horizontal alignment of the label text inside its size allocation.

Compare this to gtk.widget.Widget.halign, which determines how the labels size allocation is positioned in the space available for the label.

void xalign(float propval) @property

Set xalign property.

Parameters

propvalThe horizontal alignment of the label text inside its size allocation. Compare this to gtk.widget.Widget.halign, which determines how the labels size allocation is positioned in the space available for the label.