Gtk.Layout.prototype.get_hadjustment

function get_hadjustment():Gtk.Adjustment {
    // Gjs wrapper for gtk_layout_get_hadjustment()
}

This function should only be called after the layout has been placed in a Gtk.ScrolledWindow or otherwise configured for scrolling. It returns the Gtk.Adjustment used for communication between the horizontal scrollbar and layout.

See Gtk.ScrolledWindow, Gtk.Scrollbar, Gtk.Adjustment for details.

Returns

horizontal scroll adjustment