Gimp.RunImageFunc
@accepts(Gimp.Procedure, Gimp.RunMode, Gimp.Image, int, [Gimp.Drawable], Gimp.ValueArray, gpointer)
@returns(Gimp.ValueArray)
def on_RunImageFunc(procedure, run_mode, image, n_drawables, drawables, args, run_data):
The image function is run during the lifetime of the GIMP session, each time a plug-in image procedure is called.
Since 3.0
- procedure
the Gimp.Procedure that runs.
- run_mode
the Gimp.RunMode.
- image
the Gimp.Image.
- n_drawables
the number of Gimp.Drawable-s.
- drawables
the input Gimp.Drawable-s.
- args
the procedure's remaining arguments.
- run_data
the run_data given in Gimp.ImageProcedure.new.
- Returns
the procedure's return values.