| GIMP Config Library Reference Manual | ||||
|---|---|---|---|---|
gboolean gimp_config_serialize_properties (GimpConfig *config, GimpConfigWriter *writer); gboolean gimp_config_serialize_changed_properties (GimpConfig *config, GimpConfigWriter *writer); gboolean gimp_config_serialize_property (GimpConfig *config, GParamSpec *param_spec, GimpConfigWriter *writer); gboolean gimp_config_serialize_value (const GValue *value, GString *str, gboolean escaped);
gboolean gimp_config_serialize_properties
(GimpConfig *config,
GimpConfigWriter *writer);
This function serializes a single object property to the writer.
config : |
a GimpConfig. |
writer : |
a GimpConfigWriter. |
| Returns : | TRUE if serialization succeeded, FALSE otherwise
|
Since GIMP 2.4
gboolean gimp_config_serialize_changed_properties
(GimpConfig *config,
GimpConfigWriter *writer);
This function writes all object properties that have been changed from
their default values to the writer.
config : |
a GimpConfig. |
writer : |
a GimpConfigWriter. |
| Returns : | TRUE if serialization succeeded, FALSE otherwise
|
Since GIMP 2.4
gboolean gimp_config_serialize_property (GimpConfig *config, GParamSpec *param_spec, GimpConfigWriter *writer);
config : |
|
param_spec : |
|
writer : |
|
| Returns : |
gboolean gimp_config_serialize_value (const GValue *value,
GString *str,
gboolean escaped);
This utility function appends a string representation of GValue to str.
value : |
a GValue. |
str : |
a Gstring. |
escaped : |
whether to escape string values. |
| Returns : | TRUE if serialization succeeded, FALSE otherwise.
|
Since GIMP 2.4