Method

Gtk.Widget.get_halign

Declaration [src]

GtkAlign
gtk_widget_get_halign (
  GtkWidget* widget
)

Description [src]

Gets the horizontal alignment of widget.

For backwards compatibility reasons this method will never return GTK_ALIGN_BASELINE, but instead it will convert it to GTK_ALIGN_FILL. Baselines are not supported for horizontal alignment.

Gets propertyGtk.Widget:halign

Return value

Returns: GtkAlign

the horizontal alignment of widget