/**
* SECTION:param_value_types
+ *
* @Short_description: Standard Parameter and Value Types
- * @See_also:#GParamSpec, #GValue, g_object_class_install_property().
+ *
+ * @See_also: #GParamSpec, #GValue, g_object_class_install_property().
+ *
* @Title: Parameters and Values
*
- * #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
+ * #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.
*
* Parameter names need to start with a letter (a-z or A-Z). Subsequent
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @blurb: description of the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN
+ *
+ * Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN
* property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG property.
- *
+ *
+ * Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG
+ * property.
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64
+ *
+ * Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64
* property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @blurb: description of the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT
- * property. #GValue structures for this property can be accessed with
+ *
+ * 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @enum_type: a #GType derived from %G_TYPE_ENUM
* @default_value: default value for the property specified
* @flags: flags 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @flags_type: a #GType derived from %G_TYPE_FLAGS
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS
* property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @maximum: maximum value for the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE
+ *
+ * Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE
* property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @blurb: description of the property specified
* @default_value: default value for the property specified
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecString instance.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @blurb: description of the property specified
* @param_type: a #GType derived from %G_TYPE_PARAM
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
* property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @blurb: description of the property specified
* @boxed_type: %G_TYPE_BOXED derived type of this property
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
+ *
+ * Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
* derived property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @nick: nick name for the property specified
* @blurb: description of the property specified
* @flags: flags for the property specified
- *
+ *
* Creates a new #GParamSpecPoiner instance specifying a pointer property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @is_a_type: a #GType whose subtypes are allowed as values
* of the property (use %G_TYPE_NONE for any type)
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecGType instance specifying a
- * %G_TYPE_GTYPE property.
- *
+ *
+ * Creates a new #GParamSpecGType instance specifying a
+ * %G_TYPE_GTYPE property.
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Since: 2.10
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @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
+ * @element_spec: a #GParamSpec describing the elements contained in
* arrays of this property, may be %NULL
* @flags: flags for the property specified
- *
- * 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().
- *
+ *
+ * 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.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* @blurb: description of the property specified
* @object_type: %G_TYPE_OBJECT derived type of this property
* @flags: flags for the property specified
- *
- * Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
+ *
+ * Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
* derived property.
- *
+ *
* See g_param_spec_internal() for details on property names.
- *
+ *
* Returns: a newly created parameter specification
*/
GParamSpec*
* g_param_spec_override:
* @name: the name of the property.
* @overridden: The property that is being overridden
- *
+ *
* 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.
- *
+ *
* Since: 2.4
+ *
* Returns: the newly created #GParamSpec
*/
GParamSpec*