GIRepository.InterfaceInfo
Description: Reference for GIRepository.InterfaceInfo

### Class

# GIRepositoryInterfaceInfo

since: 2.80

#### Description [src]

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

`GIInterfaceInfo` represents a `GInterface` type.

A `GInterface` has methods, fields, properties, signals, interfaces, constants, virtual functions and prerequisites.

Available since: 2.80

#### Ancestors

- GIRegisteredTypeInfo
- GIBaseInfo

#### Instance methods

###### gi_interface_info_find_method

Obtain a method of the interface type given a `name`.

since: 2.80

###### gi_interface_info_find_signal

Obtain a signal of the interface type given a `name`.

since: 2.80

###### gi_interface_info_find_vfunc

Locate a virtual function slot with name `name`.

since: 2.80

###### gi_interface_info_get_constant

Obtain an interface type constant at index `n`.

since: 2.80

###### gi_interface_info_get_iface_struct

Returns the layout C structure associated with this `GInterface`.

since: 2.80

###### gi_interface_info_get_method

Obtain an interface type method at index `n`.

since: 2.80

###### gi_interface_info_get_n_constants

Obtain the number of constants that this interface type has.

since: 2.80

###### gi_interface_info_get_n_methods

Obtain the number of methods that this interface type has.

since: 2.80

###### gi_interface_info_get_n_prerequisites

Obtain the number of prerequisites for this interface type.

since: 2.80

###### gi_interface_info_get_n_properties

Obtain the number of properties that this interface type has.

since: 2.80

###### gi_interface_info_get_n_signals

Obtain the number of signals that this interface type has.

since: 2.80

###### gi_interface_info_get_n_vfuncs

Obtain the number of virtual functions that this interface type has.

since: 2.80

###### gi_interface_info_get_prerequisite

Obtain an interface type’s prerequisite at index `n`.

since: 2.80

###### gi_interface_info_get_property

Obtain an interface type property at index `n`.

since: 2.80

###### gi_interface_info_get_signal

Obtain an interface type signal at index `n`.

since: 2.80

###### gi_interface_info_get_vfunc

Obtain an interface type virtual function at index `n`.

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