Function

GimpRunThumbnailFunc

Declaration

GimpValueArray*
(* GimpRunThumbnailFunc) (
  GimpProcedure* procedure,
  GFile* file,
  gint size,
  const GimpValueArray* args,
  gpointer run_data
)

Description [src]

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

Available since:3.0

Parameters

procedure GimpProcedure
 

The GimpProcedure that runs.

 The data is owned by the caller of the function.
file GFile
 

The GFile to load the thumbnail from.

 The data is owned by the caller of the function.
size gint
 

The requested thumbnail size.

args GimpValueArray
 

The procedures remaining arguments.

 The data is owned by the caller of the function.
run_data gpointer
 

The run_data given in gimp_thumbnail_procedure_new().

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: GimpValueArray
 

The procedures return values.

 The caller of the function takes ownership of the data, and is responsible for freeing it.