Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< Relation > Atk::RelationSet::get_relation ( gint  i  ) 

Determines the relation at the specified position in the relation set.

Parameters:
i A int representing a position in the set, starting from 0.
Returns:
A Atk::Relation, which is the relation at position i in the set.

Definition at line 153 of file relationset.cc.

References gobj().

{

  Glib::RefPtr<Relation> retvalue = Glib::wrap(atk_relation_set_get_relation(gobj(), i));

  if(retvalue)
    retvalue->reference(); //The function does not do a ref for us.
  return retvalue;
}


Generated by  Doxygen 1.6.0   Back to index