GIRepository.FlagsInfo
Description: Reference for GIRepository.FlagsInfo

### Class

# GIRepositoryFlagsInfo

since: 2.80

#### Description

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

A `GIFlagsInfo` represents an enumeration which defines flag values (independently set bits).

The `GIFlagsInfo` contains a set of values (each a `GIValueInfo`) and a type.

The `GIValueInfo` for a value is fetched by calling `gi_enum_info_get_value()` on a `GIFlagsInfo`.

Available since: 2.80

#### Ancestors

- GIEnumInfo
- GIRegisteredTypeInfo
- GIBaseInfo

#### Instance methods

##### Methods inherited from GIEnumInfo (6)

###### gi_enum_info_get_error_domain

Obtain the string form of the quark for the error domain associated with this enum, if any.

since: 2.80

###### gi_enum_info_get_method

Obtain an enum type method at index `n`.

since: 2.80

###### gi_enum_info_get_n_methods

Obtain the number of methods that this enum type has.

since: 2.80

###### gi_enum_info_get_n_values

Obtain the number of values this enumeration contains.

since: 2.80

###### gi_enum_info_get_storage_type

Obtain the tag of the type used for the enum in the C ABI. This will will be a signed or unsigned integral type.

since: 2.80

###### gi_enum_info_get_value

Obtain a value for this enumeration.

since: 2.80

##### Methods inherited from GIRegisteredTypeInfo (4)

###### gi_registered_type_info_get_g_type

Obtain the `GType` for this registered type.

since: 2.80

###### gi_registered_type_info_get_type_init_function_name

Obtain the type init function for `info`.

since: 2.80

###### gi_registered_type_info_get_type_name

Obtain the type name of the struct within the GObject type system.

since: 2.80

###### gi_registered_type_info_is_boxed

Get whether the registered type is a boxed type.

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