RelationSet.add

Add a new relation to the current relation set if it is not already present. This function ref's the AtkRelation so the caller of this function should unref it to ensure that it will be destroyed when the AtkRelationSet is destroyed.

class RelationSet
void
add

Parameters

relation Relation

an #AtkRelation

Meta