⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 param_value_types.sgml

📁 linux下电话本所依赖的库文件
💻 SGML
📖 第 1 页 / 共 3 页
字号:
@value:   a valid #GValue of type %G_TYPE_STRING@Returns: string content of @value<!-- ##### FUNCTION g_value_dup_string ##### --><para>Get a copy the contents of a %G_TYPE_STRING #GValue.</para>@value:   a valid #GValue of type %G_TYPE_STRING@Returns: a newly allocated copy of the string content of @value<!-- ##### MACRO G_IS_PARAM_SPEC_PARAM ##### --><para>Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_PARAM.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_PARAM ##### --><para>Casts a #GParamSpec instance into a #GParamSpecParam.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_PARAM ##### --><para>Return whether the given #GValue can hold values derived from type %G_TYPE_PARAM.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_PARAM ##### --><para>The #GType of #GParamSpecParam.</para><!-- ##### STRUCT GParamSpecParam ##### --><para>A #GParamSpec derived structure that contains the meta data for %G_TYPE_PARAMproperties.</para>@parent_instance: private #GParamSpec portion<!-- ##### FUNCTION g_param_spec_param ##### --><para>Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAMproperty.</para><para> See g_param_spec_internal() for details on property names.</para>@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<!-- # Unused Parameters # -->@default_value: default value for the property specified<!-- ##### FUNCTION g_value_set_param ##### --><para>Set the contents of a %G_TYPE_PARAM #GValue to @param.</para>@value:  a valid #GValue of type %G_TYPE_PARAM@param: the #GParamSpec to be set<!-- ##### FUNCTION g_value_take_param ##### --><para>Sets the contents of a %G_TYPE_PARAM #GValue to @param andtakes over the ownership of the callers reference to @param; the caller doesn't have to unref it any more.</para>@value:  a valid #GValue of type %G_TYPE_PARAM@param: the #GParamSpec to be set@Since: 2.4<!-- ##### FUNCTION g_value_set_param_take_ownership ##### --><para>This is an internal function introduced mainly for C marshallers.</para>@value:  a valid #GValue of type %G_TYPE_PARAM@param: the #GParamSpec to be set@Deprecated: Use g_value_take_param() instead.<!-- ##### FUNCTION g_value_get_param ##### --><para>Get the contents of a %G_TYPE_PARAM #GValue.</para>@value: a valid #GValue whose type is derived from %G_TYPE_PARAM@Returns: #GParamSpec content of @value<!-- ##### FUNCTION g_value_dup_param ##### --><para>Get the contents of a %G_TYPE_PARAM #GValue, increasing its reference count.</para>@value: a valid #GValue whose type is derived from %G_TYPE_PARAM@Returns: #GParamSpec content of @value, should be unreferenced when no longer needed.<!-- ##### MACRO G_IS_PARAM_SPEC_BOXED ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_BOXED.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_BOXED ##### --><para>Cast a #GParamSpec instance into a #GParamSpecBoxed.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_BOXED ##### --><para>Return whether the given #GValue can hold values derived from type %G_TYPE_BOXED.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_BOXED ##### --><para>The #GType of #GParamSpecBoxed.</para><!-- ##### STRUCT GParamSpecBoxed ##### --><para>A #GParamSpec derived structure that contains the meta data for boxed properties.</para>@parent_instance: private #GParamSpec portion<!-- ##### FUNCTION g_param_spec_boxed ##### --><para>Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED derived property.</para><para> See g_param_spec_internal() for details on property names.</para>@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<!-- ##### FUNCTION g_value_set_boxed ##### --><para>Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed.</para>@value:   a valid #GValue of %G_TYPE_BOXED derived type@v_boxed: boxed value to be set<!-- ##### FUNCTION g_value_set_static_boxed ##### --><para>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 duplicatedwhen setting the #GValue.</para>@value:   a valid #GValue of %G_TYPE_BOXED derived type@v_boxed: static boxed value to be set<!-- ##### FUNCTION g_value_take_boxed ##### --><para>Sets the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed andtakes over the ownership of the callers reference to @v_boxed; the caller doesn't have to unref it any more.</para>@value: a valid #GValue of %G_TYPE_BOXED derived type@v_boxed: duplicated unowned boxed value to be set@Since: 2.4<!-- ##### FUNCTION g_value_set_boxed_take_ownership ##### --><para>This is an internal function introduced mainly for C marshallers.</para>@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.<!-- ##### FUNCTION g_value_get_boxed ##### --><para>Get the contents of a %G_TYPE_BOXED derived #GValue.</para>@value:   a valid #GValue of %G_TYPE_BOXED derived type@Returns: boxed contents of @value<!-- ##### FUNCTION g_value_dup_boxed ##### --><para>Get the contents of a %G_TYPE_BOXED derived #GValue.Upon getting, the boxed value is duplicated and needs to belater freed with g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), return_value);</para>@value:   a valid #GValue of %G_TYPE_BOXED derived type@Returns: boxed contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_POINTER ##### --><para>Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_POINTER.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_POINTER ##### --><para>Casts a #GParamSpec instance into a #GParamSpecPointer.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_POINTER ##### --><para>Return whether the given #GValue can hold values of type %G_TYPE_POINTER.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_POINTER ##### --><para>The #GType of #GParamSpecPointer.</para><!-- ##### STRUCT GParamSpecPointer ##### --><para>A #GParamSpec derived structure that contains the meta data for pointer properties.</para>@parent_instance: private #GParamSpec portion<!-- ##### FUNCTION g_param_spec_pointer ##### --><para>Creates a new #GParamSpecPoiner instance specifying a pointer property.</para><para> See g_param_spec_internal() for details on property names.</para>@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<!-- ##### FUNCTION g_value_set_pointer ##### --><para>Set the contents of a pointer #GValue to @v_pointer.</para>@value:   a valid #GValue of %G_TYPE_POINTER@v_pointer: pointer value to be set<!-- ##### FUNCTION g_value_get_pointer ##### --><para>Get the contents of a pointer #GValue.</para>@value:   a valid #GValue of %G_TYPE_POINTER@Returns: pointer contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_OBJECT ##### --><para>Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_OBJECT ##### --><para>Casts a #GParamSpec instance into a #GParamSpecObject.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_OBJECT ##### --><para>Return whether the given #GValue can hold values derived from type %G_TYPE_OBJECT.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_OBJECT ##### --><para>The #GType of #GParamSpecObject.</para><!-- ##### STRUCT GParamSpecObject ##### --><para>A #GParamSpec derived structure that contains the meta data for object properties.</para>@parent_instance: private #GParamSpec portion<!-- ##### FUNCTION g_param_spec_object ##### --><para>Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT derived property.</para><para> See g_param_spec_internal() for details on property names.</para>@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<!-- ##### FUNCTION g_value_set_object ##### --><para>Set the contents of a %G_TYPE_OBJECT derived #GValue to @v_object.</para>@value:   a valid #GValue of %G_TYPE_OBJECT derived type@v_object: object value to be set<!-- ##### FUNCTION g_value_take_object ##### --><para>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.</para>@value:  a valid #GValue of %G_TYPE_OBJECT derived type@v_object: object value to be set@Since: 2.4<!-- ##### FUNCTION g_value_set_object_take_ownership ##### --><para>This is an internal function introduced mainly for C marshallers.</para>@value:  a valid #GValue of %G_TYPE_OBJECT derived type@v_object: object value to be set@Deprecated: Use g_value_take_object() instead.<!-- ##### FUNCTION g_value_get_object ##### --><para>Get the contents of a %G_TYPE_OBJECT derived #GValue.</para>@value:   a valid #GValue of %G_TYPE_OBJECT derived type@Returns: object contents of @value<!-- ##### FUNCTION g_value_dup_object ##### --><para>Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing its reference count.</para>@value: a valid #GValue whose type is derived from %G_TYPE_OBJECT@Returns: object content of @value, should be unreferenced when no longer needed.<!-- ##### MACRO G_IS_PARAM_SPEC_UNICHAR ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_UNICHAR.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_UNICHAR ##### --><para>Cast a #GParamSpec instance into a #GParamSpecUnichar.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_TYPE_PARAM_UNICHAR ##### --><para>The #GType of #GParamSpecUnichar.</para><!-- ##### STRUCT GParamSpecUnichar ##### --><para>A #GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.</para>@parent_instance: private #GParamSpec portion@default_value:   default value for the property specified<!-- ##### FUNCTION g_param_spec_unichar ##### --><para>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().</para><para>See g_param_spec_internal() for details on property names.</para>@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<!-- ##### MACRO G_IS_PARAM_SPEC_VALUE_ARRAY ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_VALUE_ARRAY.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_VALUE_ARRAY ##### --><para>Cast a #GParamSpec instance into a #GParamSpecValueArray.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_TYPE_PARAM_VALUE_ARRAY ##### --><para>The #GType of #GParamSpecValueArray.</para><!-- ##### STRUCT GParamSpecValueArray ##### --><para>A #GParamSpec derived structure that contains the meta data for #GValueArray properties.</para>@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<!-- ##### FUNCTION g_param_spec_value_array ##### --><para>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().</para><para>See g_param_spec_internal() for details on property names.</para>@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<!-- ##### MACRO G_IS_PARAM_SPEC_OVERRIDE ##### --><para>Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.</para>@pspec: a #GParamSpec@Since: 2.4<!-- ##### MACRO G_PARAM_SPEC_OVERRIDE ##### --><para>Casts a #GParamSpec into a #GParamSpecObject.</para>@pspec:  a #GParamSpec@Since: 2.4<!-- ##### MACRO G_TYPE_PARAM_OVERRIDE ##### --><para>The #GType of #GParamSpecOverride.</para>@Since: 2.4<!-- ##### STRUCT GParamSpecOverride ##### --><para>This is a type of #GParamSpec type that simply redirects operations toanother paramspec.  All operations other than getting orsetting the value are redirected, including accessing the nick andblurb, validating a value, and so forth. Seeg_param_spec_get_redirect_target() for retrieving the overiddenproperty. #GParamSpecOverride is used in implementingg_object_class_override_property(), and will not be directly usefulunless you are implementing a new base type similar to GObject.</para>@Since: 2.4<!-- ##### FUNCTION g_param_spec_override ##### --><para>Creates a new property of type #GParamSpecOverride. This is usedto direct operations to another paramspec, and will not be directlyuseful unless you are implementing a new base type similar to GObject.</para>@name: the name of the property.@overridden: The property that is being overridden@Returns: the newly created #GParamSpec@Since: 2.4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -