Logo Search packages:      
Sourcecode: ardour version File versions

void Atk::RelationSet::set_add ( const Glib::RefPtr< Relation > &  relation  ) 

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.

Parameters:
relation An Atk::Relation.

Definition at line 143 of file relationset.cc.

References gobj().

{
  atk_relation_set_add(gobj(), Glib::unwrap(relation));
}


Generated by  Doxygen 1.6.0   Back to index