Relation.this

Create a new relation for the specified key and the specified list of targets. See also atk.object.ObjectAtk.addRelationship.

Parameters

targets atk.object.ObjectAtk[]

an array of pointers to #AtkObjects

relationship atk.types.RelationType

an #AtkRelationType with which to create the new #AtkRelation

Return Value

a pointer to a new #AtkRelation