Gtk.Widget.prototype.set_halign

function set_halign(align:Gtk.Align):void {
    // Gjs wrapper for gtk_widget_set_halign()
}

Sets the horizontal alignment of widget. See the Gtk.halign property.

align

the horizontal alignment