Misc.xalign

float xalign() @property

Get xalign property.

Returns

The horizontal alignment. A value of 0.0 means left alignment (or right

on RTL locales); a value of 1.0 means right alignment (or left on RTL locales).

Deprecated

Use [gtk.widget.Widget.setHalign] instead. If you are using

#GtkLabel, use #GtkLabel:xalign instead.

void xalign(float propval) @property

Set xalign property.

Parameters

propvalThe horizontal alignment. A value of 0.0 means left alignment (or right on RTL locales); a value of 1.0 means right alignment (or left on RTL locales).

Deprecated

Use [gtk.widget.Widget.setHalign] instead. If you are using

#GtkLabel, use #GtkLabel:xalign instead.