Gtk.Layout.new
function new(hadjustment:Gtk.Adjustment, vadjustment:Gtk.Adjustment):Gtk.Widget {
// Gjs wrapper for gtk_layout_new()
}Creates a new Gtk.Layout. Unless you have a specific adjustment you'd like the layout to use for scrolling, pass null for hadjustment and vadjustment.
- hadjustment
horizontal scroll adjustment, or null
- vadjustment
vertical scroll adjustment, or null
- Returns
a new Gtk.Layout