Function

GimpRunThumbnailFunc

unstable since: 3.0

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

Type: GimpProcedure

The GimpProcedure that runs.

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

Type: GFile

The GFile to load the thumbnail from.

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

Type: gint

The requested thumbnail size.

args

Type: GimpValueArray

The procedures remaining arguments.

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

Type: 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

Type: GimpValueArray

The procedures return values.

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