Alignment.xalign

float xalign() @property

Get xalign property.

Returns

Horizontal position of child in available space. A value of 0.0

will flush the child left (or right, in RTL locales); a value of 1.0 will flush the child right (or left, in RTL locales).

Deprecated

Use [gtk.widget.Widget.setHalign] on the child instead
void xalign(float propval) @property

Set xalign property.

Parameters

propvalHorizontal position of child in available space. A value of 0.0 will flush the child left (or right, in RTL locales); a value of 1.0 will flush the child right (or left, in RTL locales).

Deprecated

Use [gtk.widget.Widget.setHalign] on the child instead