📄 param_value_types.sgml
字号:
</para>@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<!-- ##### FUNCTION g_value_set_long ##### --><para>Set the contents of a %G_TYPE_LONG #GValue to @v_long.</para>@value: a valid #GValue of type %G_TYPE_LONG@v_long: long integer value to be set<!-- ##### FUNCTION g_value_get_long ##### --><para>Get the contents of a %G_TYPE_LONG #GValue.</para>@value: a valid #GValue of type %G_TYPE_LONG@Returns: long integer contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_ULONG ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_ULONG.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_ULONG ##### --><para>Cast a #GParamSpec instance into a #GParamSpecULong.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_ULONG ##### --><para>Return whether the given #GValue can hold values of type %G_TYPE_ULONG.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_ULONG ##### --><para>The #GType of #GParamSpecULong.</para><!-- ##### STRUCT GParamSpecULong ##### --><para>A #GParamSpec derived structure that contains the meta data for unsigned long integer properties.</para>@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<!-- ##### FUNCTION g_param_spec_ulong ##### --><para>Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG 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@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<!-- ##### FUNCTION g_value_set_ulong ##### --><para>Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong.</para>@value: a valid #GValue of type %G_TYPE_ULONG@v_ulong: unsigned long integer value to be set<!-- ##### FUNCTION g_value_get_ulong ##### --><para>Get the contents of a %G_TYPE_ULONG #GValue.</para>@value: a valid #GValue of type %G_TYPE_ULONG@Returns: unsigned long integer contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_INT64 ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_INT64.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_INT64 ##### --><para>Cast a #GParamSpec instance into a #GParamSpecInt64.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_INT64 ##### --><para>Return whether the given #GValue can hold values of type %G_TYPE_INT64.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_INT64 ##### --><para>The #GType of #GParamSpecInt64.</para><!-- ##### STRUCT GParamSpecInt64 ##### --><para>A #GParamSpec derived structure that contains the meta data for 64bit integer properties.</para>@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<!-- ##### FUNCTION g_param_spec_int64 ##### --><para>Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 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@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<!-- ##### FUNCTION g_value_set_int64 ##### --><para>Set the contents of a %G_TYPE_INT64 #GValue to @v_int64.</para>@value: a valid #GValue of type %G_TYPE_INT64@v_int64: 64bit integer value to be set<!-- ##### FUNCTION g_value_get_int64 ##### --><para>Get the contents of a %G_TYPE_INT64 #GValue.</para>@value: a valid #GValue of type %G_TYPE_INT64@Returns: 64bit integer contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_UINT64 ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT64.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_UINT64 ##### --><para>Cast a #GParamSpec instance into a #GParamSpecUInt64.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_UINT64 ##### --><para>Return whether the given #GValue can hold values of type %G_TYPE_UINT64.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_UINT64 ##### --><para>The #GType of #GParamSpecUInt64.</para><!-- ##### STRUCT GParamSpecUInt64 ##### --><para>A #GParamSpec derived structure that contains the meta data for unsigned 64bit integer properties.</para>@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<!-- ##### FUNCTION g_param_spec_uint64 ##### --><para>Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64 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@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<!-- ##### FUNCTION g_value_set_uint64 ##### --><para>Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64.</para>@value: a valid #GValue of type %G_TYPE_UINT64@v_uint64: unsigned 64bit integer value to be set<!-- ##### FUNCTION g_value_get_uint64 ##### --><para>Get the contents of a %G_TYPE_UINT64 #GValue.</para>@value: a valid #GValue of type %G_TYPE_UINT64@Returns: unsigned 64bit integer contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_FLOAT ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_FLOAT.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_FLOAT ##### --><para>Cast a #GParamSpec instance into a #GParamSpecFloat.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_FLOAT ##### --><para>Return whether the given #GValue can hold values of type %G_TYPE_FLOAT.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_FLOAT ##### --><para>The #GType of #GParamSpecFloat.</para><!-- ##### STRUCT GParamSpecFloat ##### --><para>A #GParamSpec derived structure that contains the meta data for float properties.</para>@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: values closer than @epsilon will be considered identical by g_param_values_cmp(); the default value is 1e-30.<!-- ##### FUNCTION g_param_spec_float ##### --><para>Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT 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@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<!-- ##### FUNCTION g_value_set_float ##### --><para>Set the contents of a %G_TYPE_FLOAT #GValue to @v_float.</para>@value: a valid #GValue of type %G_TYPE_FLOAT@v_float: float value to be set<!-- ##### FUNCTION g_value_get_float ##### --><para>Get the contents of a %G_TYPE_FLOAT #GValue.</para>@value: a valid #GValue of type %G_TYPE_FLOAT@Returns: float contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_DOUBLE ##### --><para>Return whether the given #GParamSpec is of type %G_TYPE_PARAM_DOUBLE.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_DOUBLE ##### --><para>Cast a #GParamSpec instance into a #GParamSpecDouble.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_DOUBLE ##### --><para>Return whether the given #GValue can hold values of type %G_TYPE_DOUBLE.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_DOUBLE ##### --><para>The #GType of #GParamSpecDouble.</para><!-- ##### STRUCT GParamSpecDouble ##### --><para>A #GParamSpec derived structure that contains the meta data for double properties.</para>@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: values closer than @epsilon will be considered identical by g_param_values_cmp(); the default value is 1e-90.<!-- ##### FUNCTION g_param_spec_double ##### --><para>Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE 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@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<!-- ##### FUNCTION g_value_set_double ##### --><para>Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double.</para>@value: a valid #GValue of type %G_TYPE_DOUBLE@v_double: double value to be set<!-- ##### FUNCTION g_value_get_double ##### --><para>Get the contents of a %G_TYPE_DOUBLE #GValue.</para>@value: a valid #GValue of type %G_TYPE_DOUBLE@Returns: double contents of @value<!-- ##### MACRO G_IS_PARAM_SPEC_ENUM ##### --><para>Returns whether the given #GParamSpec is of type %G_TYPE_PARAM_ENUM.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_PARAM_SPEC_ENUM ##### --><para>Cast a #GParamSpec instance into a #GParamSpecEnum.</para>@pspec: a valid #GParamSpec instance<!-- ##### MACRO G_VALUE_HOLDS_ENUM ##### --><para>Return whether the given #GValue can hold values derived from type %G_TYPE_ENUM.</para>@value: a valid #GValue structure<!-- ##### MACRO G_TYPE_PARAM_ENUM ##### --><para>The #GType of #GParamSpecEnum.</para>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -