Gtk.Layout.prototype.get_size

function get_size():void {
    // Gjs wrapper for gtk_layout_get_size()
}

Gets the size that has been set on the layout, and that determines the total extents of the layout's scrollbar area. See gtk_layout_set_size ().