|  |  |  | libatspi Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
AtspiRelation; AtspiRelationClass; AtspiRelationType atspi_relation_get_relation_type (AtspiRelation *obj); gint atspi_relation_get_n_targets (AtspiRelation *obj); AtspiAccessible * atspi_relation_get_target (AtspiRelation *obj,gint i);
AtspiRelationType   atspi_relation_get_relation_type    (AtspiRelation *obj);
Get the type of relationship represented by an AtspiRelation.
| 
 | a pointer to the AtspiRelation object to query. | 
| Returns : | an AtspiRelationType indicating the type of relation encapsulated in this AtspiRelation object. | 
gint                atspi_relation_get_n_targets        (AtspiRelation *obj);
Get the number of objects which this relationship has as its target objects (the subject is the Accessible from which this AtspiRelation originated).
| 
 | a pointer to the AtspiRelation object to query. | 
| Returns : | a short integer indicating how many target objects which the originating Accessible object has the AtspiRelation relationship with. | 
AtspiAccessible * atspi_relation_get_target (AtspiRelation *obj,gint i);
Get the i-th target of a specified AtspiRelation relationship.
| 
 | a pointer to the AtspiRelation object to query. | 
| 
 | a (zero-index) integer indicating which (of possibly several) target is requested. | 
| Returns : | an AtspiAccessible which is the i-th object
         with which the originating AtspiAccessible has relationship
         specified in the AtspiRelation object.
. transfer full. |