gparam.h File Reference

__G_PARAM_H__

G_TYPE_IS_PARAM

G_TYPE_IS_PARAM: : a GType ID

Checks whether "is a" G_TYPE_PARAM.

G_PARAM_SPEC

G_PARAM_SPEC: : a valid GParamSpec

Casts a derived GParamSpec object (e.g. of type GParamSpecInt) into a GParamSpec object.

G_IS_PARAM_SPEC

G_IS_PARAM_SPEC: : a GParamSpec

Checks whether "is a" valid GParamSpec structure of type G_TYPE_PARAM or derived.

G_PARAM_SPEC_CLASS

G_PARAM_SPEC_CLASS: : a valid GParamSpecClass

Casts a derived GParamSpecClass structure into a GParamSpecClass structure.

G_IS_PARAM_SPEC_CLASS

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

G_PARAM_SPEC_GET_CLASS: : a valid GParamSpec

Retrieves the GParamSpecClass of a GParamSpec.

G_PARAM_SPEC_TYPE

G_PARAM_SPEC_TYPE: : a valid GParamSpec

Retrieves the GType of this .

G_PARAM_SPEC_TYPE_NAME

G_PARAM_SPEC_TYPE_NAME: : a valid GParamSpec

Retrieves the GType name of this .

G_PARAM_SPEC_VALUE_TYPE

G_PARAM_SPEC_VALUE_TYPE: : a valid GParamSpec

Retrieves the GType to initialize a GValue for this parameter.

G_VALUE_HOLDS_PARAM

G_VALUE_HOLDS_PARAM: : a valid GValue structure

Checks whether the given GValue can hold values derived from type G_TYPE_PARAM.

Returns: TRUE on success.

Enum GParamFlags

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.

G_PARAM_READWRITE

G_PARAM_READWRITE:

GParamFlags value alias for G_PARAM_READABLE | G_PARAM_WRITABLE.

G_PARAM_STATIC_STRINGS

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

G_PARAM_MASK:

Mask containing the bits of GParamSpec.flags which are reserved for GLib.

G_PARAM_USER_SHIFT

G_PARAM_USER_SHIFT:

Minimum shift count to be used for user defined flags, to be stored in GParamSpec.flags.

Typedef GParamSpec

typedef struct _GParamSpecGParamSpec

Typedef GParamSpecClass

typedef struct _GParamSpecClassGParamSpecClass

Typedef GParameter

typedef struct _GParameterGParameter

Typedef GParamSpecPool

typedef struct _GParamSpecPoolGParamSpecPool