G_PARAM_SPEC: : a valid GParamSpec
Casts a derived GParamSpec object (e.g. of type GParamSpecInt) into a GParamSpec object.
G_IS_PARAM_SPEC: : a GParamSpec
Checks whether "is a" valid GParamSpec structure of type G_TYPE_PARAM or derived.
G_PARAM_SPEC_CLASS: : a valid GParamSpecClass
Casts a derived GParamSpecClass structure into a GParamSpecClass structure.
G_IS_PARAM_SPEC_CLASS: : a GParamSpecClass
Checks whether "is a" valid GParamSpecClass structure of type G_TYPE_PARAM or derived.
G_PARAM_SPEC_GET_CLASS: : a valid GParamSpec
Retrieves the GParamSpecClass of a GParamSpec.
G_PARAM_SPEC_TYPE_NAME: : a valid GParamSpec
Retrieves the GType name of this .
G_PARAM_SPEC_VALUE_TYPE: : a valid GParamSpec
Retrieves the GType to initialize a GValue for this parameter.
GParamFlags: : the parameter is readable : the parameter is writable : the parameter will be set upon object construction : the parameter will only be set upon object construction : upon parameter conversion (see g_param_value_convert()) strict validation is not required : the string used as name when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8 : the string used as nick when constructing the parameter is guaranteed to remain valid and unmmodified for the lifetime of the parameter. Since 2.8 : the string used as blurb when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8 : internal
Through the GParamFlags flag values, certain aspects of parameters can be configured.
Enumerator | Value | Description |
---|---|---|
G_PARAM_READABLE | 1 << 0 | |
G_PARAM_WRITABLE | 1 << 1 | |
G_PARAM_CONSTRUCT | 1 << 2 | |
G_PARAM_CONSTRUCT_ONLY | 1 << 3 | |
G_PARAM_LAX_VALIDATION | 1 << 4 | |
G_PARAM_STATIC_NAME | 1 << 5 | |
G_PARAM_PRIVATE | G_PARAM_STATIC_NAME | |
G_PARAM_STATIC_NICK | 1 << 6 | |
G_PARAM_STATIC_BLURB | 1 << 7 |
G_PARAM_READWRITE:
GParamFlags value alias for G_PARAM_READABLE | G_PARAM_WRITABLE.
G_PARAM_STATIC_STRINGS:
GParamFlags value alias for G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB.
Since 2.13.0
G_PARAM_MASK:
Mask containing the bits of GParamSpec.flags which are reserved for GLib.
G_PARAM_USER_SHIFT:
Minimum shift count to be used for user defined flags, to be stored in GParamSpec.flags.
typedef struct _GParamSpec | GParamSpec |
typedef struct _GParamSpecClass | GParamSpecClass |