Class
GIRepositoryConstantInfo
since: 2.80
Description [src]
final class GIRepository.ConstantInfo : GObject.TypeInstance
{
/* No available fields */
}
GIConstantInfo
represents a constant.
A constant has a type associated – which can be obtained by calling
gi_constant_info_get_type_info()
– and a value – which can be
obtained by calling gi_constant_info_get_value()
.
Available since: 2.80
Instance methods
gi_constant_info_get_value
Obtain the value associated with the GIConstantInfo
and store it in the
value
parameter.
since: 2.80
Methods inherited from GIBaseInfo (11)
gi_base_info_clear
Clears memory allocated internally by a stack-allocated
GIBaseInfo
.
since: 2.80
gi_base_info_equal
Compare two GIBaseInfo
s.
since: 2.80
gi_base_info_get_attribute
Retrieve an arbitrary attribute associated with this node.
since: 2.80
gi_base_info_get_container
Obtain the container of the info
.
since: 2.80
gi_base_info_get_name
Obtain the name of the info
.
since: 2.80
gi_base_info_get_namespace
Obtain the namespace of info
.
since: 2.80
gi_base_info_get_typelib
Obtain the typelib this info
belongs to.
since: 2.80
gi_base_info_is_deprecated
Obtain whether the info
is represents a metadata which is deprecated.
since: 2.80
gi_base_info_iterate_attributes
Iterate over all attributes associated with this node.
since: 2.80
gi_base_info_ref
Increases the reference count of info
.
since: 2.80
gi_base_info_unref
Decreases the reference count of info
. When its reference count
drops to 0, the info is freed.
since: 2.80