ProcedureConfig
Object Hierarchy:
Description:
[
CCode ( type_id =
"gimp_procedure_config_get_type ()" ) ]
[
Version ( since =
"3.0" ) ]
public abstract class ProcedureConfig :
Object
The base class for [class@Procedure] specific config objects and the main interface to manage aspects of [class@Procedure]'s arguments
such as persistency of the last used arguments across GIMP sessions.
A procedure config is created by a [class@Procedure] using [method@Procedure.create_config] and its properties match the procedure's
arguments and auxiliary arguments in number, order and type.
It implements the [struct@Config] interface and therefore has all its serialization and deserialization features.
Content:
Properties:
Creation methods:
Methods:
- public int get_choice_id (string property_name)
A utility function which will get the current string value of a
GimpParamSpecChoice property in this and convert it to the integer ID mapped to this value.
- public Color[] get_color_array (string property_name)
A function for bindings to get a [type@ColorArray] property.
- public (unowned Object)[] get_core_object_array (string property_name)
A function for bindings to get a [type@CoreObjectArray] property.
- public unowned Procedure get_procedure ()
This function returns the [class@Procedure] which created
this, see [method@Procedure.
- public void save_metadata (Image exported_image, File file)
*Note: There is normally no need to call this function because it's
already called by [class@ExportProcedure] after the `run()` callback.
- public void set_color_array (string property_name, Color[] colors)
A function for bindings to set a [type@ColorArray] property.
- public void set_core_object_array (string property_name, Object[] objects)
A function for bindings to set a [type@CoreObjectArray] property.
Inherited Members:
All known members inherited from class GLib.Object