Function
GimpRunImageFunc
since: 3.0
Declaration
GimpValueArray*
(* GimpRunImageFunc) (
GimpProcedure* procedure,
GimpRunMode run_mode,
GimpImage* image,
GimpDrawable** drawables,
GimpProcedureConfig* config,
gpointer run_data
)
Description [src]
The image function is run during the lifetime of the GIMP session, each time a plug-in image procedure is called.
Available since: 3.0
Parameters
procedure-
Type:
GimpProcedureThe
GimpProcedurethat runs.The data is owned by the caller of the function. run_mode-
Type:
GimpRunModeThe
GimpRunMode. image-
Type:
GimpImageThe
GimpImage.The data is owned by the caller of the function. drawables-
Type: An array of
GimpDrawable*The input
GimpDrawable-s.The array must be NULL-terminated.The data is owned by the caller of the function. config-
Type:
GimpProcedureConfigThe
procedure‘s remaining arguments.The data is owned by the caller of the function. run_data-
Type:
gpointerThe run_data given in gimp_image_procedure_new().
The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: GimpValueArray
The procedure‘s return values.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |