### Interface

# Gimp ConfigInterface

#### Description

    interface Gimp.ConfigInterface : GObject.Object

No description available.

#### Prerequisite

In order to implement ConfigInterface, your type must inherit from `GObject`.

#### Implementations

- GimpColorConfig

#### Functions

###### gimp_config_build_data_path

Creates a search path as it is used in the gimprc file. The path returned by `gimp_config_build_data_path()` includes a directory below the user’s gimp directory and one in the system-wide data directory.

###### gimp_config_build_plug_in_path

Creates a search path as it is used in the gimprc file. The path returned by `gimp_config_build_plug_in_path()` includes a directory below the user’s gimp directory and one in the system-wide plug-in directory.

###### gimp_config_build_system_path

Creates a search path as it is used in the gimprc file. The path returned by `gimp_config_build_system_path()` is just the read-only parts of the search path constructed by gimp_config_build_plug_in_path().

###### gimp_config_build_writable_path

Creates a search path as it is used in the gimprc file. The path returned by `gimp_config_build_writable_path()` is just the writable parts of the search path constructed by gimp_config_build_data_path().

###### gimp_config_deserialize_return

No description available.

###### gimp_config_diff

Compares all properties of `a` and `b` that have all `flags` set. If `flags` is 0, all properties are compared.

###### gimp_config_error_quark

This function is never called directly. Use GIMP_CONFIG_ERROR() instead.

###### gimp_config_param_spec_duplicate

Creates an exact copy of `pspec`, with all its properties, returns `NULL` if `pspec` is of an unknown type that can’t be duplicated.

###### gimp_config_reset_properties

Resets all writable properties of `object` to the default values as defined in their `GParamSpec`. Properties marked as “construct-only” are not touched.

###### gimp_config_reset_property

Resets the property named `property_name` to its default value. The property must be writable and must not be marked as “construct-only”.

###### gimp_config_serialize_value

This utility function appends a string representation of `GValue` to `str`.

###### gimp_config_string_append_escaped

Escapes and quotes `val` and appends it to `string`. The escape algorithm is different from the one used by `g_strescape()` since it leaves non-ASCII characters intact and thus preserves UTF-8 strings. Only control characters and quotes are being escaped.

###### gimp_config_sync

Compares all read- and write-able properties from `src` and `dest` that have all `flags` set. Differing values are then copied from `src` to `dest`. If `flags` is 0, all differing read/write properties.

###### gimp_config_type_register

This function is a fancy wrapper around g_type_register_static(). It creates a new object type as subclass of `parent_type`, installs `pspecs` on it and makes the new type implement the `GimpConfig` interface.