GimpUi.ZoomModel.zoom

@accepts(GimpUi.ZoomModel, GimpUi.ZoomType, float)
@returns(none)
def zoom(self, zoom_type, scale):
    # Python wrapper for gimp_zoom_model_zoom()
  

Since GIMP 2.4

self

a GimpUi.ZoomModel

zoom_type

the GimpUi.ZoomType

scale

ignored unless zoom_type == %GIMP_ZOOM_TO