RelationSet
Object Hierarchy:
Atk.RelationSet
Atk.RelationSet
Atk.RelationSet
GLib.Object
GLib.Object
GLib.Object->Atk.RelationSet
Description:
[ CCode ( type_id = "atk_relation_set_get_type ()" ) ]public class RelationSet : Object
The AtkRelationSet held by an object establishes its relationships with objects beyond the normal "parent/child" hierarchical
relationships that all user interface objects have.
AtkRelationSets establish whether objects are labelled or controlled by other components, share group membership with other components
(for instance within a radio-button group), or share content which "flows" between them, among other types of possible relationships.
Content:
Creation methods:
Methods:
public void add (Relation relation)
Add a new relation to the current relation set if it is not already
present.
public void add_relation_by_type (RelationType relationship, 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.
public bool contains (RelationType relationship)
Determines whether the relation set contains a relation that matches
the specified type.
public bool contains_target (RelationType relationship, Object target)
Determines whether the relation set contains a relation that matches
the specified pair formed by type relationship
and object target
.
public int get_n_relations ()
Determines the number of relations in a relation set.
public unowned Relation get_relation (int i)
Determines the relation at the specified position in the relation set.
public unowned Relation get_relation_by_type (RelationType relationship)
Finds a relation that matches the specified type.
public void remove (Relation relation)
Removes a relation from the relation set.
Fields:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref