Parameters and Values
Standard Parameter and Value Types
#GValue provides an abstract container structure which can be copied,
transformed and compared while holding a value of any (derived) type, which
is registered as a #GType with a #GTypeValueTable in its #GTypeInfo structure.
Parameter specifications for most value types can be created as
#GParamSpec derived instances, to implement e.g. #GObject properties which
operate on #GValue containers.
#GParamSpec, #GValue, g_object_class_install_property().
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_BOOLEAN.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecBoolean.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_BOOLEAN.
@value: a valid #GValue structure
The #GType of #GParamSpecBoolean.
A #GParamSpec derived structure that contains the meta data for boolean properties.
@parent_instance: private #GParamSpec portion
@default_value: default value for the property specified
Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN
property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean.
@value: a valid #GValue of type %G_TYPE_BOOLEAN
@v_boolean: boolean value to be set
Get the contents of a %G_TYPE_BOOLEAN #GValue.
@value: a valid #GValue of type %G_TYPE_BOOLEAN
@Returns: boolean contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_CHAR.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecChar.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_CHAR.
@value: a valid #GValue structure
The #GType of #GParamSpecChar.
A #GParamSpec derived structure that contains the meta data for character properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_CHAR #GValue to @v_char.
@value: a valid #GValue of type %G_TYPE_CHAR
@v_char: character value to be set
Get the contents of a %G_TYPE_CHAR #GValue.
@value: a valid #GValue of type %G_TYPE_CHAR
@Returns: character contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_UCHAR.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecUChar.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_UCHAR.
@value: a valid #GValue structure
The #GType of #GParamSpecUChar.
A #GParamSpec derived structure that contains the meta data for unsigned character properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar.
@value: a valid #GValue of type %G_TYPE_UCHAR
@v_uchar: unsigned character value to be set
Get the contents of a %G_TYPE_UCHAR #GValue.
@value: a valid #GValue of type %G_TYPE_UCHAR
@Returns: unsigned character contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_INT.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecInt.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_INT.
@value: a valid #GValue structure
The #GType of #GParamSpecInt.
A #GParamSpec derived structure that contains the meta data for integer properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_INT #GValue to @v_int.
@value: a valid #GValue of type %G_TYPE_INT
@v_int: integer value to be set
Get the contents of a %G_TYPE_INT #GValue.
@value: a valid #GValue of type %G_TYPE_INT
@Returns: integer contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecUInt.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_UINT.
@value: a valid #GValue structure
The #GType of #GParamSpecUInt.
A #GParamSpec derived structure that contains the meta data for unsigned integer properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_UINT #GValue to @v_uint.
@value: a valid #GValue of type %G_TYPE_UINT
@v_uint: unsigned integer value to be set
Get the contents of a %G_TYPE_UINT #GValue.
@value: a valid #GValue of type %G_TYPE_UINT
@Returns: unsigned integer contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_LONG.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecLong.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_LONG.
@value: a valid #GValue structure
The #GType of #GParamSpecLong.
A #GParamSpec derived structure that contains the meta data for long integer properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_LONG #GValue to @v_long.
@value: a valid #GValue of type %G_TYPE_LONG
@v_long: long integer value to be set
Get the contents of a %G_TYPE_LONG #GValue.
@value: a valid #GValue of type %G_TYPE_LONG
@Returns: long integer contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_ULONG.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecULong.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_ULONG.
@value: a valid #GValue structure
The #GType of #GParamSpecULong.
A #GParamSpec derived structure that contains the meta data for unsigned long integer properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong.
@value: a valid #GValue of type %G_TYPE_ULONG
@v_ulong: unsigned long integer value to be set
Get the contents of a %G_TYPE_ULONG #GValue.
@value: a valid #GValue of type %G_TYPE_ULONG
@Returns: unsigned long integer contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_INT64.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecInt64.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_INT64.
@value: a valid #GValue structure
The #GType of #GParamSpecInt64.
A #GParamSpec derived structure that contains the meta data for 64bit integer properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_INT64 #GValue to @v_int64.
@value: a valid #GValue of type %G_TYPE_INT64
@v_int64: 64bit integer value to be set
Get the contents of a %G_TYPE_INT64 #GValue.
@value: a valid #GValue of type %G_TYPE_INT64
@Returns: 64bit integer contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT64.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecUInt64.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_UINT64.
@value: a valid #GValue structure
The #GType of #GParamSpecUInt64.
A #GParamSpec derived structure that contains the meta data for unsigned 64bit integer properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64
property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64.
@value: a valid #GValue of type %G_TYPE_UINT64
@v_uint64: unsigned 64bit integer value to be set
Get the contents of a %G_TYPE_UINT64 #GValue.
@value: a valid #GValue of type %G_TYPE_UINT64
@Returns: unsigned 64bit integer contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_FLOAT.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecFloat.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_FLOAT.
@value: a valid #GValue structure
The #GType of #GParamSpecFloat.
A #GParamSpec derived structure that contains the meta data for float properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@epsilon:
Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_FLOAT #GValue to @v_float.
@value: a valid #GValue of type %G_TYPE_FLOAT
@v_float: float value to be set
Get the contents of a %G_TYPE_FLOAT #GValue.
@value: a valid #GValue of type %G_TYPE_FLOAT
@Returns: float contents of @value
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_DOUBLE.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecDouble.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_DOUBLE.
@value: a valid #GValue structure
The #GType of #GParamSpecDouble.
A #GParamSpec derived structure that contains the meta data for double properties.
@parent_instance: private #GParamSpec portion
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@epsilon:
Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE
property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@minimum: minimum value for the property specified
@maximum: maximum value for the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double.
@value: a valid #GValue of type %G_TYPE_DOUBLE
@v_double: double value to be set
Get the contents of a %G_TYPE_DOUBLE #GValue.
@value: a valid #GValue of type %G_TYPE_DOUBLE
@Returns: double contents of @value
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_ENUM.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecEnum.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values derived from type %G_TYPE_ENUM.
@value: a valid #GValue structure
The #GType of #GParamSpecEnum.
A #GParamSpec derived structure that contains the meta data for enum
properties.
@parent_instance: private #GParamSpec portion
@enum_class: the #GEnumClass for the enum
@default_value: default value for the property specified
Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM
property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@enum_type: a #GType derived from %G_TYPE_ENUM
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_ENUM #GValue to @v_enum.
@value: a valid #GValue whose type is derived from %G_TYPE_ENUM
@v_enum: enum value to be set
Get the contents of a %G_TYPE_ENUM #GValue.
@value: a valid #GValue whose type is derived from %G_TYPE_ENUM
@Returns: enum contents of @value
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_FLAGS.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecFlags.
@pspec: a valid #GParamSpec instance
Returns whether the given #GValue can hold values derived from type %G_TYPE_FLAGS.
@value: a valid #GValue structure
The #GType of #GParamSpecFlags.
A #GParamSpec derived structure that contains the meta data for flags
properties.
@parent_instance: private #GParamSpec portion
@flags_class: the #GFlagsClass for the flags
@default_value: default value for the property specified
Creates a new #GParamSpecEnum instance specifying a %G_TYPE_FLAGS
property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@flags_type: a #GType derived from %G_TYPE_FLAGS
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags.
@value: a valid #GValue whose type is derived from %G_TYPE_FLAGS
@v_flags: flags value to be set
Get the contents of a %G_TYPE_FLAGS #GValue.
@value: a valid #GValue whose type is derived from %G_TYPE_FLAGS
@Returns: flags contents of @value
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_STRING.
@pspec: a valid #GParamSpec instance
Casts a #GParamSpec instance into a #GParamSpecString.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_STRING.
@value: a valid #GValue structure
The #GType of #GParamSpecString.
A #GParamSpec derived structure that contains the meta data for string
properties.
@parent_instance: private #GParamSpec portion
@default_value: default value for the property specified
@cset_first: a string containing the allowed values for the first byte
@cset_nth: a string containing the allowed values for the subsequent bytes
@substitutor: the replacement byte for bytes which don't match @cset_first or @cset_nth.
@null_fold_if_empty: replace empty string by %NULL
@ensure_non_null: replace %NULL strings by an empty string
A C representable type name for #G_TYPE_STRING.
Creates a new #GParamSpecString instance.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_STRING #GValue to @v_string.
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: string to be set
Set the contents of a %G_TYPE_STRING #GValue to @v_string.
The string is assumed to be static, and is thus not duplicated
when setting the #GValue.
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: static string to be set
Sets the contents of a %G_TYPE_STRING #GValue to @v_string.
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: duplicated unowned string to be set
@Since: 2.4
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: duplicated unowned string to be set
@Deprecated: Use g_value_take_string() instead.
Get the contents of a %G_TYPE_STRING #GValue.
@value: a valid #GValue of type %G_TYPE_STRING
@Returns: string content of @value
Get a copy the contents of a %G_TYPE_STRING #GValue.
@value: a valid #GValue of type %G_TYPE_STRING
@Returns: a newly allocated copy of the string content of @value
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_PARAM.
@pspec: a valid #GParamSpec instance
Casts a #GParamSpec instance into a #GParamSpecParam.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values derived from type %G_TYPE_PARAM.
@value: a valid #GValue structure
The #GType of #GParamSpecParam.
A #GParamSpec derived structure that contains the meta data for %G_TYPE_PARAM
properties.
@parent_instance: private #GParamSpec portion
Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@param_type: a #GType derived from %G_TYPE_PARAM
@flags: flags for the property specified
@Returns: a newly created parameter specification
@default_value: default value for the property specified
Set the contents of a %G_TYPE_PARAM #GValue to @param.
@value: a valid #GValue of type %G_TYPE_PARAM
@param: the #GParamSpec to be set
Sets the contents of a %G_TYPE_PARAM #GValue to @param and
takes over the ownership of the callers reference to @param;
the caller doesn't have to unref it any more.
@value: a valid #GValue of type %G_TYPE_PARAM
@param: the #GParamSpec to be set
@Since: 2.4
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of type %G_TYPE_PARAM
@param: the #GParamSpec to be set
@Deprecated: Use g_value_take_param() instead.
Get the contents of a %G_TYPE_PARAM #GValue.
@value: a valid #GValue whose type is derived from %G_TYPE_PARAM
@Returns: #GParamSpec content of @value
Get the contents of a %G_TYPE_PARAM #GValue, increasing its reference count.
@value: a valid #GValue whose type is derived from %G_TYPE_PARAM
@Returns: #GParamSpec content of @value, should be unreferenced when no longer needed.
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_BOXED.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecBoxed.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values derived from type %G_TYPE_BOXED.
@value: a valid #GValue structure
The #GType of #GParamSpecBoxed.
A #GParamSpec derived structure that contains the meta data for boxed properties.
@parent_instance: private #GParamSpec portion
Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
derived property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@boxed_type: %G_TYPE_BOXED derived type of this property
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed.
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: boxed value to be set
Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed.
The boxed value is assumed to be static, and is thus not duplicated
when setting the #GValue.
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: static boxed value to be set
Sets the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed and
takes over the ownership of the callers reference to @v_boxed;
the caller doesn't have to unref it any more.
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: duplicated unowned boxed value to be set
@Since: 2.4
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: duplicated unowned boxed value to be set
@Deprecated: Use g_value_take_boxed() instead.
Get the contents of a %G_TYPE_BOXED derived #GValue.
@value: a valid #GValue of %G_TYPE_BOXED derived type
@Returns: boxed contents of @value
Get the contents of a %G_TYPE_BOXED derived #GValue.
Upon getting, the boxed value is duplicated and needs to be
later freed with g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), return_value);
@value: a valid #GValue of %G_TYPE_BOXED derived type
@Returns: boxed contents of @value
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_POINTER.
@pspec: a valid #GParamSpec instance
Casts a #GParamSpec instance into a #GParamSpecPointer.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values of type %G_TYPE_POINTER.
@value: a valid #GValue structure
The #GType of #GParamSpecPointer.
A #GParamSpec derived structure that contains the meta data for pointer properties.
@parent_instance: private #GParamSpec portion
Creates a new #GParamSpecPoiner instance specifying a pointer property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a pointer #GValue to @v_pointer.
@value: a valid #GValue of %G_TYPE_POINTER
@v_pointer: pointer value to be set
Get the contents of a pointer #GValue.
@value: a valid #GValue of %G_TYPE_POINTER
@Returns: pointer contents of @value
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.
@pspec: a valid #GParamSpec instance
Casts a #GParamSpec instance into a #GParamSpecObject.
@pspec: a valid #GParamSpec instance
Return whether the given #GValue can hold values derived from type %G_TYPE_OBJECT.
@value: a valid #GValue structure
The #GType of #GParamSpecObject.
A #GParamSpec derived structure that contains the meta data for object properties.
@parent_instance: private #GParamSpec portion
Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
derived property.
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@object_type: %G_TYPE_OBJECT derived type of this property
@flags: flags for the property specified
@Returns: a newly created parameter specification
Set the contents of a %G_TYPE_OBJECT derived #GValue to @v_object.
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@v_object: object value to be set
Sets the contents of a %G_TYPE_OBJECT derived #GValue to @v_object
and takes over the ownership of the callers reference to @v_object;
the caller doesn't have to unref it any more.
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@v_object: object value to be set
@Since: 2.4
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@v_object: object value to be set
@Deprecated: Use g_value_take_object() instead.
Get the contents of a %G_TYPE_OBJECT derived #GValue.
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@Returns: object contents of @value
Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing its reference count.
@value: a valid #GValue whose type is derived from %G_TYPE_OBJECT
@Returns: object content of @value, should be unreferenced when no longer needed.
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_UNICHAR.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecUnichar.
@pspec: a valid #GParamSpec instance
The #GType of #GParamSpecUnichar.
A #GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.
@parent_instance: private #GParamSpec portion
@default_value: default value for the property specified
Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT
property. #GValue structures for this property can be accessed with
g_value_set_uint() and g_value_get_uint().
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@default_value: default value for the property specified
@flags: flags for the property specified
@Returns: a newly created parameter specification
Return whether the given #GParamSpec is of type %G_TYPE_PARAM_VALUE_ARRAY.
@pspec: a valid #GParamSpec instance
Cast a #GParamSpec instance into a #GParamSpecValueArray.
@pspec: a valid #GParamSpec instance
The #GType of #GParamSpecValueArray.
A #GParamSpec derived structure that contains the meta data for #GValueArray properties.
@parent_instance: private #GParamSpec portion
@element_spec: a #GParamSpec describing the elements contained in arrays of this property, may be %NULL
@fixed_n_elements: if greater than 0, arrays of this property will always have this many elements
Creates a new #GParamSpecValueArray instance specifying a
%G_TYPE_VALUE_ARRAY property. %G_TYPE_VALUE_ARRAY is a %G_TYPE_BOXED
type, as such, #GValue structures for this property can be accessed
with g_value_set_boxed() and g_value_get_boxed().
See g_param_spec_internal() for details on property names.
@name: canonical name of the property specified
@nick: nick name for the property specified
@blurb: description of the property specified
@element_spec: a #GParamSpec describing the elements contained in
arrays of this property, may be %NULL
@flags: flags for the property specified
@Returns: a newly created parameter specification
Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.
@pspec: a #GParamSpec
@Since: 2.4
Casts a #GParamSpec into a #GParamSpecObject.
@pspec: a #GParamSpec
@Since: 2.4
The #GType of #GParamSpecOverride.
@Since: 2.4
This is a type of #GParamSpec type that simply redirects operations to
another paramspec. All operations other than getting or
setting the value are redirected, including accessing the nick and
blurb, validating a value, and so forth. See
g_param_spec_get_redirect_target() for retrieving the overidden
property. #GParamSpecOverride is used in implementing
g_object_class_override_property(), and will not be directly useful
unless you are implementing a new base type similar to GObject.
@Since: 2.4
Creates a new property of type #GParamSpecOverride. This is used
to direct operations to another paramspec, and will not be directly
useful unless you are implementing a new base type similar to GObject.
@name: the name of the property.
@overridden: The property that is being overridden
@Returns: the newly created #GParamSpec
@Since: 2.4