Gimp.Procedure (original) (raw)

gimp_procedure_create_config

Create a GimpConfig with properties that match procedure‘s arguments, to be used in gimp_procedure_run_config() method.

since: 3.0

gimp_procedure_get_icon_type

Gets the type of data set as procedure‘s icon. Depending on the result, you can call the relevant specific function, such asgimp_procedure_get_icon_name().

since: 3.0

gimp_procedure_get_image_types

This function retrieves the list of image types the procedure can operate on. See gimp_procedure_set_image_types().

since: 3.0

gimp_procedure_is_internal

Provide the information if procedure is an internal procedure. Only a procedure looked up in the GimpPDB can be internal. Procedures created by a plug-in in particular are never internal.

since: 3.0

gimp_procedure_persistent_ready

Notify the main GIMP application that the persistent procedure has been properly initialized and is ready to run.

since: 3.0

gimp_procedure_run

Runs the procedure named procedure_name with arguments given as list of (name, value) pairs, terminated by NULL.

since: 3.0

gimp_procedure_run_valist

Runs procedure with arguments names and values, given in the order as passed to gimp_procedure_run().

since: 3.0

gimp_procedure_set_argument_sync

When the procedure’s run() function exits, a GimpProcedure‘s arguments or auxiliary arguments can be automatically synced with a GimpParasite of the GimpImage the procedure is running on.

since: 3.0

gimp_procedure_set_image_types

This is a comma separated list of image types, or actually drawable types, that this procedure can deal with. Wildcards are possible here, so you could say “RGB*” instead of “RGB, RGBA” or “*” for all image types.

since: 3.0

gimp_procedure_set_menu_label

Sets the label to use for the procedure‘s menu entry, The location(s) where to register in the menu hierarchy is chosen using gimp_procedure_add_menu_path().

since: 3.0