Method

AtkObjectadd_relationship

Declaration [src]

gboolean
atk_object_add_relationship (
  AtkObject* object,
  AtkRelationType relationship,
  AtkObject* target
)

Description [src]

Adds a relationship of the specified type with the specified target.

Parameters

relationship AtkRelationType
 

The AtkRelationType of the relation.

target AtkObject
 

The AtkObject which is to be the target of the relation.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the relationship is added.