GimpUi.ZoomModel.prototype.zoom

function zoom(zoom_type: GimpUi.ZoomType, scale: Number(gdouble)): void {
    // Gjs wrapper for gimp_zoom_model_zoom()
}
  

Since GIMP 2.4

zoom_type

the GimpUi.ZoomType

scale

ignored unless zoom_type == %GIMP_ZOOM_TO