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)
    class Relation
    this
    (,
    AtkRelationType relationship
    )

Parameters

targets ObjectAtk[]

an array of pointers to #AtkObjects

relationship AtkRelationType

an #AtkRelationType with which to create the new #AtkRelation

Return Value

a pointer to a new #AtkRelation

Throws

ConstructionException GTK+ fails to create the object.

Meta