Gtk.Scrollable.prototype.set_hscroll_policy

function set_hscroll_policy(policy:Gtk.ScrollablePolicy):void {
    // Gjs wrapper for gtk_scrollable_set_hscroll_policy()
}

Sets the Gtk.ScrollablePolicy to determine whether horizontal scrolling should start below the minimum width or below the natural width.

Since 3.0

policy

the horizontal Gtk.ScrollablePolicy