Struct
GimpConfig
Instance methods
gimp_config_copy
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.
since: 2.6
gimp_config_deserialize_file
Opens the file specified by file
, reads configuration data from it
and configures config
accordingly. Basically this function creates
a properly configured GScanner
for you and calls the deserialize
function of the config
‘s GimpConfigInterface
.
since: 2.10
gimp_config_deserialize_parasite
Configures config
from parasite
. Basically this function creates
a properly configured GScanner
for you and calls the deserialize
function of the config
‘s GimpConfigInterface
.
since: 3.0
gimp_config_deserialize_properties
This function uses the scanner
to configure the properties of config
.
since: 2.4
gimp_config_deserialize_property
This function deserializes a single property of config
. You
shouldn’t need to call this function directly. If possible, use
gimp_config_deserialize_properties()
instead.
since: 2.4
gimp_config_deserialize_stream
Reads configuration data from input
and configures config
accordingly. Basically this function creates a properly configured
GScanner
for you and calls the deserialize function of the
config
‘s GimpConfigInterface
.
since: 2.10
gimp_config_deserialize_string
Configures config
from text
. Basically this function creates a
properly configured GScanner
for you and calls the deserialize
function of the config
‘s GimpConfigInterface
.
since: 2.4
gimp_config_duplicate
Creates a copy of the passed object by copying all object
properties. The default implementation of the GimpConfigInterface
only works for objects that are completely defined by their properties.
since: 2.4
gimp_config_is_equal_to
Compares the two objects. The default implementation of the
GimpConfigInterface
compares the object properties and thus only
works for objects that are completely defined by their properties.
since: 2.4
gimp_config_reset
Resets the object to its default state. The default implementation of the
GimpConfigInterface
only works for objects that are completely defined by
their properties.
since: 2.4
gimp_config_serialize_changed_properties
This function writes all object properties that have been changed from
their default values to the writer
.
since: 2.4
gimp_config_serialize_properties
This function writes all object properties to the writer
.
since: 2.4
gimp_config_serialize_property
This function serializes a single object property to the writer
.
since: 2.4
gimp_config_serialize_property_by_name
This function serializes a single object property to the writer
.
since: 2.6
gimp_config_serialize_to_fd
Serializes the object properties of config
to the given file descriptor.
since: 2.4
gimp_config_serialize_to_file
Serializes the object properties of config
to the file specified
by file
. If a file with that name already exists, it is
overwritten. Basically this function opens file
for you and calls
the serialize function of the config
‘s GimpConfigInterface
.
since: 2.10
gimp_config_serialize_to_parasite
Serializes the object properties of config
to a GimpParasite
.
since: 3.0
gimp_config_serialize_to_stream
Serializes the object properties of config
to the stream specified
by output
.
since: 2.10