Gtk.Window.prototype.resize_to_geometry

function resize_to_geometry(width:Number, height:Number):void {
    // Gjs wrapper for gtk_window_resize_to_geometry()
}

Like Gtk.Window.prototype.resize, but width and height are interpreted in terms of the base size and increment set with gtk_window_set_geometry_hints.

Since 3.0

width

width in resize increments to resize the window to

height

height in resize increments to resize the window to