### Class

# Gimp ProcedureConfig

#### Description [src]

    abstract class Gimp.ProcedureConfig : GObject.Object {
      parent_instance: GObject,
      priv: GimpProcedureConfigPrivate*
    }

The base class for `GimpProcedure` specific config objects and the main interface to manage aspects of `GimpProcedure`‘s arguments such as persistency of the last used arguments across GIMP sessions.

A procedure config is created by a `GimpProcedure` using `gimp_procedure_create_config()` and its properties match the procedure’s arguments and auxiliary arguments in number, order and type.

It implements the `GimpConfig` interface and therefore has all its serialization and deserialization features.

Available since: | 3.0

#### Ancestors

- GObject

#### Instance methods

###### gimp_procedure_config_begin_export

This is a variant of `gimp_procedure_config_begin_run()` to be used by file export procedures using `GimpSaveProcedure`. It must be paired with a call to `gimp_procedure_config_end_export()` at the end of run().

Available since: 3.0

###### gimp_procedure_config_begin_run

Populates `config` with values for a `GimpProcedure`‘s run(), depending on `run_mode`.

Available since: 3.0

###### gimp_procedure_config_end_export

This is a variant of `gimp_procedure_config_end_run()` to be used by file export procedures using `GimpSaveProcedure`. It must be paired with a call to `gimp_procedure_config_begin_export()` at the beginning of run().

Available since: 3.0

###### gimp_procedure_config_end_run

This function is the counterpart of `gimp_procedure_config_begin_run()` and must always be called in pairs in a procedure’s run(), before returning return values.

Available since: 3.0

###### gimp_procedure_config_get_procedure

This function returns the `GimpProcedure` which created `config`, see `gimp_procedure_create_config()`.

Available since: 3.0

###### gimp_procedure_config_get_values

Gets the values from `config`‘s properties and stores them in `values`.

Available since: 3.0

###### gimp_procedure_config_save_metadata

already called from `gimp_procedure_config_end_export()`.

Available since: 3.0

###### gimp_procedure_config_set_values

Sets the values from `values` on `config`‘s properties.

Available since: 3.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Gimp.ProcedureConfig:procedure

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct GimpProcedureConfigClass {
      GObjectClass parent_class;
      void (* _gimp_reserved1) (
    void
      );
      void (* _gimp_reserved2) (
    void
      );
      void (* _gimp_reserved3) (
    void
      );
      void (* _gimp_reserved4) (
    void
      );
      void (* _gimp_reserved5) (
    void
      );
      void (* _gimp_reserved6) (
    void
      );
      void (* _gimp_reserved7) (
    void
      );
      void (* _gimp_reserved8) (
    void
      );

    }

###### Class members

`parent_class` |
    GObjectClass
| No description available.
`_gimp_reserved1` |
    void (* _gimp_reserved1) (
    void
      )
| No description available.
`_gimp_reserved2` |
    void (* _gimp_reserved2) (
    void
      )
| No description available.
`_gimp_reserved3` |
    void (* _gimp_reserved3) (
    void
      )
| No description available.
`_gimp_reserved4` |
    void (* _gimp_reserved4) (
    void
      )
| No description available.
`_gimp_reserved5` |
    void (* _gimp_reserved5) (
    void
      )
| No description available.
`_gimp_reserved6` |
    void (* _gimp_reserved6) (
    void
      )
| No description available.
`_gimp_reserved7` |
    void (* _gimp_reserved7) (
    void
      )
| No description available.
`_gimp_reserved8` |
    void (* _gimp_reserved8) (
    void
      )
| No description available.