Gtk.Scrollable.prototype.set_vscroll_policy

function set_vscroll_policy(policy:Gtk.ScrollablePolicy):void {
    // Gjs wrapper for gtk_scrollable_set_vscroll_policy()
}

Sets the Gtk.ScrollablePolicy to determine whether vertical scrolling should start below the minimum height or below the natural height.

Since 3.0

policy

the vertical Gtk.ScrollablePolicy