![]() |
![]() |
Public Member Functions | |
void | add_relation_by_type (RelationType relationship, const Glib::RefPtr<Atk::Object>& target) |
Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type. | |
int | get_n_relations () const |
Determines the number of relations in a relation set. | |
Glib::RefPtr<Relation> | get_relation (RelationType relationship) |
Finds a relation that matches the specified type. | |
Glib::RefPtr<Relation> | get_relation (gint i) |
Determines the relation at the specified position in the relation set. | |
const AtkRelationSet* | gobj () const |
Provides access to the underlying C GObject. | |
AtkRelationSet* | gobj () |
Provides access to the underlying C GObject. | |
AtkRelationSet* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
void | set_add (const Glib::RefPtr<Relation>& relation) |
Add a new relation to the current relation set if it is not already present. | |
bool | set_contains (RelationType relationship) |
Determines whether the relation set contains a relation that matches the specified type. | |
void | set_remove (const Glib::RefPtr<Relation>& relation) |
Removes a relation from the relation set. | |
virtual | ~RelationSet () |
Static Public Member Functions | |
static Glib::RefPtr<RelationSet> | create () |
Protected Member Functions | |
RelationSet () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Atk::RelationSet> | wrap (AtkRelationSet* object, bool take_copy=false) |
|
|
|
|
|
Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type. If it is does contain a relation of that typea the target is added to the relation. Since: 1.9
|
|
|
|
Determines the number of relations in a relation set.
|
|
Finds a relation that matches the specified type.
|
|
Determines the relation at the specified position in the relation set.
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
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.
|
|
Determines whether the relation set contains a relation that matches the specified type.
|
|
Removes a relation from the relation set. This function unref's the Atk::Relation so it will be deleted unless there is another reference to it.
|
|
|