GIRepository.ValueInfo
Description: Reference for GIRepository.ValueInfo

### Class

# GIRepositoryValueInfo

since: 2.80

#### Description

    final class GIRepository.ValueInfo : GObject.TypeInstance
    {
      /* No available fields */
    }

A `GIValueInfo` represents a value in an enumeration.

The `GIValueInfo` is fetched by calling `gi_enum_info_get_value()` on a `GIEnumInfo`.

Available since: 2.80

#### Ancestors

- GIBaseInfo

#### Instance methods

###### gi_value_info_get_value

Obtain the enumeration value of the `GIValueInfo`.

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