# Gimp.RunSaveFunc

    @accepts(Gimp.Procedure, Gimp.RunMode, Gimp.Image, int, [Gimp.Drawable], Gio.File, Gimp.ValueArray, gpointer)
    @returns(Gimp.ValueArray)
    def on_RunSaveFunc(procedure, run_mode, image, n_drawables, drawables, file, args, run_data):

The save function is run during the lifetime of the GIMP session, each time a plug-in save procedure is called.

Since 3.0

procedure

  the Gimp.Procedure that runs.

run_mode

  the Gimp.RunMode.

image

  the image to save.

n_drawables

  the number of drawables to save.

drawables

  the drawables to save.

file

  the Gio.File to save to.

args

  the procedure's remaining arguments.

run_data

  the run_data given in Gimp.SaveProcedure.new.

Returns

  the procedure's return values.