Atspi.Relation
Description: Reference for Atspi.Relation

### Class

# AtspiRelation

since: 2.0

#### Description [src]

    class Atspi.Relation : GObject.Object
    {
      relation_type: AtspiRelationType,
      targets: GArray*
    }

An interface via which non-hierarchical relationships are indicated.

An interface via which non-hierarchical relationships are indicated. An instance of this interface represents a “one-to-many” correspondence.

Available since: 2.0

#### Ancestors

- GObject

#### Instance methods

###### atspi_relation_get_n_targets

Gets the number of objects which this relationship has as its target objects (the subject is the `AtspiAccessible` from which this `AtspiRelation` originated).

since: 2.0

###### atspi_relation_get_relation_type

Gets the type of relationship represented by an `AtspiRelation`.

since: 2.0

###### atspi_relation_get_target

Gets the `i`-th target of a specified `AtspiRelation` relationship.

since: 2.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

#### Class structure

    struct AtspiRelationClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`
  No description available.