Widget.getHalign

gtk.types.Align getHalign()

Gets the horizontal alignment of widget.

For backwards compatibility reasons this method will never return one of the baseline alignments, but instead it will convert it to [gtk.types.Align.Fill] or [gtk.types.Align.Center].

Baselines are not supported for horizontal alignment.

Returns

the horizontal alignment of widget