ObjectAtk.addRelationship

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

Parameters

relationship atk.types.RelationType

The #AtkRelationType of the relation

target atk.object.ObjectAtk

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

Return Value

Type: bool

TRUE if the relationship is added.