ImageProcedure


Description:

[ CCode ( has_construct_function = false , type = "GimpProcedure*" ) ]
[ Version ( since = "3.0" ) ]
public ImageProcedure (PlugIn plug_in, string name, PDBProcType proc_type, owned RunImageFunc run_func)

Creates a new image procedure named name which will call run_func when invoked.

See [ctor@Procedure.new] for information about proc_type.

Parameters:

plug_in

a PlugIn.

name

the new procedure's name.

proc_type

the new procedure's PDBProcType.

run_func

the run function for the new procedure.

run_data

user data passed to run_func.

run_data_destroy

free function for run_data, or null.

Returns:

a new Procedure.