Function
GimpRunImageFunc
Declaration
GimpValueArray*
(* GimpRunImageFunc) (
GimpProcedure* procedure,
GimpRunMode run_mode,
GimpImage* image,
gint n_drawables,
GimpDrawable** drawables,
const GimpValueArray* args,
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 |
GimpProcedure |
The |
|
The data is owned by the caller of the function. | |
run_mode |
GimpRunMode |
The |
|
image |
GimpImage |
The |
|
The data is owned by the caller of the function. | |
n_drawables |
gint |
The number of |
|
drawables |
An array of GimpDrawable* |
The input |
|
The length of the array is specified in the n_drawables argument. | |
The data is owned by the caller of the function. | |
args |
GimpValueArray |
The |
|
The data is owned by the caller of the function. | |
run_data |
gpointer |
The 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
Returns: | GimpValueArray |
The |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |