Gtk.ScrolledWindow.new
function new(hadjustment:Gtk.Adjustment, vadjustment:Gtk.Adjustment):Gtk.Widget {
// Gjs wrapper for gtk_scrolled_window_new()
}Creates a new scrolled window.
The two arguments are the scrolled window's adjustments; these will be shared with the scrollbars and the child widget to keep the bars in sync with the child. Usually you want to pass null for the adjustments, which will cause the scrolled window to create them for you.
- hadjustment
horizontal adjustment
- vadjustment
vertical adjustment
- Returns
a new scrolled window