Class
AtkRelation
Description [src]
class Atk.Relation : GObject.Object {
parent: GObject,
target: GPtrArray*,
relationship: AtkRelationType
}
An object used to describe a relation between a object and one or more other objects.
An AtkRelation describes a relation between an object and one or more other objects. The actual relations that an object has with other objects are defined as an AtkRelationSet, which is a set of AtkRelations.
Constructors
atk_relation_new
Create a new relation for the specified key and the specified list of targets. See also atk_object_add_relationship().
Instance methods
atk_relation_add_target
Adds the specified AtkObject to the target for the relation, if it is not already present. See also atk_object_add_relationship().
Available since: 1.9
atk_relation_get_relation_type
Gets the type of relation
.
atk_relation_get_target
Gets the target list of relation
.
atk_relation_remove_target
Remove the specified AtkObject from the target for the relation.
Properties
Atk.Relation:relation-type
Atk.Relation:target
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.