Gimp.RunThumbnailFunc

@accepts(Gimp.Procedure, Gio.File, int, Gimp.ValueArray, gpointer)
@returns(Gimp.ValueArray)
def on_RunThumbnailFunc(procedure, file, size, args, run_data):
  

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

Since 3.0

procedure

the Gimp.Procedure that runs.

file

the Gio.File to load the thumbnail from.

size

the requested thumbnail size.

args

the procedure's remaining arguments.

run_data

the run_data given in Gimp.ThumbnailProcedure.new.

Returns

the procedure's return values.