Relation.this

Create a new relation for the specified key and the specified list of targets. See also atk_object_add_relationship().

  1. this(AtkRelation* atkRelation, bool ownedRef)
  2. this(ObjectAtk[] targets, AtkRelationType relationship)

Parameters

targets ObjectAtk[]

an array of pointers to AtkObjects

relationship AtkRelationType

an AtkRelationType with which to create the new atk.Relation

Return Value

a pointer to a new atk.Relation

Throws

ConstructionException GTK+ fails to create the object.