Label.xalign

Get xalign property.

  1. float xalign [@property getter]
    class Label
    @property
    float
    xalign
    ()
  2. float xalign [@property setter]

Return Value

Type: float

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.