Class: Atk::Relation
- Inherits:
-
Object
- Object
- Atk::Relation
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_target(target) ⇒ nil
Adds the specified AtkObject to the target for the relation, if it is not already present.
-
#new(targets, n_targets, relationship) ⇒ Atk::Relation
Create a new relation for the specified key and the specified list of targets.
-
#relation_type ⇒ Atk::RelationType
Relation-type.
- #relation_type=(relation_type) ⇒ Atk::RelationType
-
#remove_target(target) ⇒ TrueClass
Remove the specified AtkObject from the target for the relation.
-
#target ⇒ GObject::ValueArray
Target.
- #target=(target) ⇒ GObject::ValueArray
Instance Method Details
#add_target(target) ⇒ nil
Adds the specified AtkObject to the target for the relation, if it is not already present. See also atk_object_add_relationship().
#new(targets, n_targets, relationship) ⇒ Atk::Relation
Create a new relation for the specified key and the specified list of targets. See also atk_object_add_relationship().
#relation_type ⇒ Atk::RelationType
Returns relation-type.
#relation_type=(relation_type) ⇒ Atk::RelationType
#remove_target(target) ⇒ TrueClass
Remove the specified AtkObject from the target for the relation.
#target ⇒ GObject::ValueArray
Returns target.