Relation.this

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(atk.object.ObjectWrap[] targets, atk.types.RelationType relationship)

Parameters

targets atk.object.ObjectWrap[]

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