GimpConfig-params

GimpConfig-params — Macros and defines to install config properties.

Functions

Types and Values

Description

Macros and defines to install config properties.

Functions

GIMP_CONFIG_PROP_BOOLEAN()

#define             GIMP_CONFIG_PROP_BOOLEAN(class, id, name, nick, blurb, default, flags)

GIMP_CONFIG_PROP_BOXED()

#define             GIMP_CONFIG_PROP_BOXED(class, id, name, nick, blurb, boxed_type, flags)

GIMP_CONFIG_PROP_DOUBLE()

#define             GIMP_CONFIG_PROP_DOUBLE(class, id, name, nick, blurb, min, max, default, flags)

GIMP_CONFIG_PROP_ENUM()

#define             GIMP_CONFIG_PROP_ENUM(class, id, name, nick, blurb, enum_type, default, flags)

GIMP_CONFIG_PROP_INT()

#define             GIMP_CONFIG_PROP_INT(class, id, name, nick, blurb, min, max, default, flags)

GIMP_CONFIG_PROP_INT64()

#define             GIMP_CONFIG_PROP_INT64(class, id, name, nick, blurb, min, max, default, flags)

GIMP_CONFIG_PROP_MATRIX2()

#define             GIMP_CONFIG_PROP_MATRIX2(class, id, name, nick, blurb, default, flags)

GIMP_CONFIG_PROP_MEMSIZE()

#define             GIMP_CONFIG_PROP_MEMSIZE(class, id, name, nick, blurb, min, max, default, flags)

GIMP_CONFIG_PROP_OBJECT()

#define             GIMP_CONFIG_PROP_OBJECT(class, id, name, nick, blurb, object_type, flags)

GIMP_CONFIG_PROP_PATH()

#define             GIMP_CONFIG_PROP_PATH(class, id, name, nick, blurb, path_type, default, flags)

GIMP_CONFIG_PROP_POINTER()

#define             GIMP_CONFIG_PROP_POINTER(class, id, name, nick, blurb, flags)

GIMP_CONFIG_PROP_RESOLUTION()

#define             GIMP_CONFIG_PROP_RESOLUTION(class, id, name, nick, blurb, default, flags)

GIMP_CONFIG_PROP_RGB()

#define             GIMP_CONFIG_PROP_RGB(class, id, name, nick, blurb, has_alpha, default, flags)

GIMP_CONFIG_PROP_STRING()

#define             GIMP_CONFIG_PROP_STRING(class, id, name, nick, blurb, default, flags)

GIMP_CONFIG_PROP_UINT64()

#define             GIMP_CONFIG_PROP_UINT64(class, id, name, nick, blurb, min, max, default, flags)

GIMP_CONFIG_PROP_UINT()

#define             GIMP_CONFIG_PROP_UINT(class, id, name, nick, blurb, min, max, default, flags)

GIMP_CONFIG_PROP_UNIT()

#define             GIMP_CONFIG_PROP_UNIT(class, id, name, nick, blurb, pixels, percent, default, flags)

gimp_config_param_spec_duplicate ()

GParamSpec *
gimp_config_param_spec_duplicate (GParamSpec *pspec);

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

Return: (transfer full): The new GParamSpec, or NULL.

Parameters

pspec

the GParamSpec to duplicate

 

Since: 3.0

Types and Values

GIMP_CONFIG_PARAM_SERIALIZE

#define GIMP_CONFIG_PARAM_SERIALIZE    (1 << (0 + G_PARAM_USER_SHIFT))

A property that can and should be serialized and deserialized.


GIMP_CONFIG_PARAM_AGGREGATE

#define GIMP_CONFIG_PARAM_AGGREGATE    (1 << (1 + G_PARAM_USER_SHIFT))

The object property is to be treated as part of the parent object.


GIMP_CONFIG_PARAM_RESTART

#define GIMP_CONFIG_PARAM_RESTART      (1 << (2 + G_PARAM_USER_SHIFT))

Changes to this property take effect only after a restart.


GIMP_CONFIG_PARAM_CONFIRM

#define GIMP_CONFIG_PARAM_CONFIRM      (1 << (3 + G_PARAM_USER_SHIFT))

Changes to this property should be confirmed by the user before being applied.


GIMP_CONFIG_PARAM_DEFAULTS

#define GIMP_CONFIG_PARAM_DEFAULTS     (1 << (4 + G_PARAM_USER_SHIFT))

Don't serialize this property if it has the default value.


GIMP_CONFIG_PARAM_IGNORE

#define GIMP_CONFIG_PARAM_IGNORE       (1 << (5 + G_PARAM_USER_SHIFT))

This property exists for obscure reasons or is needed for backward compatibility. Ignore the value read and don't serialize it.


GIMP_CONFIG_PARAM_FLAGS

#define             GIMP_CONFIG_PARAM_FLAGS

The default flags that should be used for serializable GimpConfig properties.