Method

GtkWidgetget_halign

Declaration [src]

GtkAlign
gtk_widget_get_halign (
  GtkWidget* widget
)

Description [src]

Gets the horizontal alignment of the widget.

For backwards compatibility reasons this method will never return one of the baseline alignments, but instead it will convert it to GtkAlign or GtkAlign.

Baselines are not supported for horizontal alignment.

Gets propertyGtk.Widget:halign

Return value

Type: GtkAlign

The horizontal alignment of widget.