GI.ConstantInfo – gobject-introspection-1.0 Reference Manual
ConstantInfo
Object Hierarchy:
GI.ConstantInfo
GI.ConstantInfo
GI.ConstantInfo
GI.BaseInfo
GI.BaseInfo
GI.BaseInfo->GI.ConstantInfo
Description:
[
CCode
( type_id =
"g_base_info_gtype_get_type ()"
) ]
[
Compact
]
public
class
ConstantInfo
:
BaseInfo
Represents a constant.
Namespace:
GI
Package:
gobject-introspection-1.0
Content:
Methods:
public
void
free_value
(
Argument
value)
Free the value returned from
get_value
.
public
TypeInfo
get_type
()
Obtain the type of the constant as a
TypeInfo
.
public
int
get_value
(
out
Argument
value)
Obtain the value associated with the
ConstantInfo
and store it in the
value
parameter.
Inherited Members:
All known members inherited from class GI.BaseInfo
equal
get_attribute
get_container
get_name
get_namespace
get_type
get_typelib
is_deprecated
iterate_attributes
2022 vala-language.org