From: Matthias Clasen Date: Thu, 27 Mar 2003 23:17:59 +0000 (+0000) Subject: Additions. X-Git-Tag: GLIB_2_3_0~229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46ae53a931fb79c3d806ccda32654f89b69263ad;p=platform%2Fupstream%2Fglib.git Additions. --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 5140d64..ce2ff54 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,6 +1,9 @@ +2003-03-28 Matthias Clasen + + * gobject/tmpl/param_value_types.sgml: Additions. + 2003-03-25 Matthias Clasen - * gobject/tmpl/param_value_types.sgml: * gobject/tmpl/objects.sgml: Additions. 2003-03-24 Matthias Clasen diff --git a/docs/reference/gobject/tmpl/param_value_types.sgml b/docs/reference/gobject/tmpl/param_value_types.sgml index 3f5da99..da9afc5 100644 --- a/docs/reference/gobject/tmpl/param_value_types.sgml +++ b/docs/reference/gobject/tmpl/param_value_types.sgml @@ -894,43 +894,48 @@ The #GType of #GParamSpecEnum. - +A #GParamSpec derived structure that contains the meta data for enum +properties. -@parent_instance: -@enum_class: -@default_value: +@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: -@nick: -@blurb: -@enum_type: -@default_value: -@flags: -@Returns: +@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: -@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: -@Returns: +@value: a valid #GValue whose type is derived from %G_TYPE_ENUM +@Returns: enum contents of @value @@ -943,7 +948,7 @@ Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_FLAGS. -Cast a #GParamSpec instance into a #GParamSpecChar. +Cast a #GParamSpec instance into a #GParamSpecFlags. @pspec: a valid #GParamSpec instance @@ -966,43 +971,49 @@ The #GType of #GParamSpecFlags. - +A #GParamSpec derived structure that contains the meta data for flags +properties. -@parent_instance: -@flags_class: -@default_value: +@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: -@nick: -@blurb: -@flags_type: -@default_value: -@flags: -@Returns: +@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: -@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: -@Returns: +@value: a valid #GValue whose type is derived from %G_TYPE_FLAGS +@Returns: flags contents of @value @@ -1038,16 +1049,17 @@ The #GType of #GParamSpecString. - +A #GParamSpec derived structure that contains the meta data for string +properties. -@parent_instance: -@default_value: -@cset_first: -@cset_nth: -@substitutor: -@null_fold_if_empty: -@ensure_non_null: +@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 @@ -1057,60 +1069,68 @@ The #GType of #GParamSpecString. - +Creates a new #GParamSpecString instance. + + +See g_param_spec_internal() for details on property names. -@name: -@nick: -@blurb: -@default_value: -@flags: -@Returns: +@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: -@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: -@v_string: +@value: a valid #GValue of type %G_TYPE_STRING +@v_string: static string to be set - +This is an internal function introduced mainly for C marshallers. -@value: -@v_string: +@value: a valid #GValue of type %G_TYPE_STRING +@v_string: duplicated unowned string to be set + +@value: a valid #GValue +@v_string: string to be set - +Get the contents of a %G_TYPE_STRING #GValue. -@value: -@Returns: +@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: -@Returns: +@value: a valid #GValue of type %G_TYPE_STRING +@Returns: a newly allocated copy of the string content of @value @@ -1146,58 +1166,65 @@ The #GType of #GParamSpecParam. - +A #GParamSpec derived structure that contains the meta data for %G_TYPE_PARAM +properties. -@parent_instance: +@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: -@nick: -@blurb: -@param_type: -@flags: -@Returns: +@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 +@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_PARAM #GValue to @param. -@value: -@param: +@value: a valid #GValue of type %G_TYPE_PARAM +@param: the #GParamSpec to be set - +This is an internal function introduced mainly for C marshallers. -@value: -@param: +@value: a valid #GValue of type %G_TYPE_PARAM +@param: the #GParamSpec to be set - +Get the contents of a %G_TYPE_PARAM #GValue. -@value: -@Returns: +@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: -@Returns: +@value: a valid #GValue whose type is derived from %G_TYPE_PARAM +@Returns: #GParamSpec content of @value, should be unreferenced when no longer needed. @@ -1322,7 +1349,6 @@ Casts a #GParamSpec instance into a #GParamSpecPointer. Return whether the given #GValue can hold values of type %G_TYPE_POINTER. - @value: a valid #GValue structure @@ -1337,39 +1363,43 @@ The #GType of #GParamSpecPointer. - +A #GParamSpec derived structure that contains the meta data for pointer properties. -@parent_instance: +@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: -@nick: -@blurb: -@flags: -@Returns: +@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: -@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: -@Returns: +@value: a valid #GValue of %G_TYPE_POINTER +@Returns: pointer contents of @value @@ -1405,58 +1435,63 @@ The #GType of #GParamSpecObject. - +A #GParamSpec derived structure that contains the meta data for object properties. -@parent_instance: +@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: -@nick: -@blurb: -@object_type: -@flags: -@Returns: +@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: -@v_object: +@value: a valid #GValue of %G_TYPE_OBJECT derived type +@v_object: object value to be set - +This is an internal function introduced mainly for C marshallers. -@value: -@v_object: +@value: a valid #GValue of %G_TYPE_OBJECT derived type +@v_object: object value to be set - +Get the contents of a %G_TYPE_OBJECT derived #GValue. -@value: -@Returns: +@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: -@Returns: +@value: a valid #GValue whose type is derived from %G_TYPE_OBJECT +@Returns: object content of @value, should be unreferenced when no longer needed.