Method

AtkRelationSetadd_relation_by_type

Declaration [src]

void
atk_relation_set_add_relation_by_type (
  AtkRelationSet* set,
  AtkRelationType relationship,
  AtkObject* target
)

Description [src]

Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type. If it is does contain a relation of that typea the target is added to the relation.

Available since:1.9

Parameters

relationship AtkRelationType
 

An AtkRelationType.

target AtkObject
 

An AtkObject.

 The data is owned by the caller of the function.