GObject.Object
 Atk.RelationSet
                Atk.RelationSet
		   
| Import line: | Atk = imports.gi.Atk; | 
| GIR File: | Atk-1.0.gir | 
| C documentation: | AtkRelationSet | 
| Class : | RelationSet | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				parent : GObject.Object 
                 read only  
                     
			 | Atk.RelationSet | |
| 
				relations : Array 
                 read only  
                     
			 | Atk.RelationSet | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Atk.RelationSet
				
				 (Object properties) 
			
				
			
		 Create a new Atk.RelationSet 
			
			
			
				Create a new Atk.RelationSet
			
			
				 
 | ||
| 
			add
				
				 (Relation relation) 
			
				
					 : 
					none
					
				
			
		 Add a new relation to the current relation set if it is not already present. 
			
				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. 
 
 | Atk.RelationSet | |
| 
			add_relation_by_type
				
				 (RelationType relationship, Object target) 
			
				
					 : 
					none
					
				
			
		 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. 
			
				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. 
 
 | Atk.RelationSet | |
| 
			contains
				
				 (RelationType relationship) 
			
				
					 : 
					gboolean
					
				
			
		 Determines whether the relation set contains a relation that matches the specified type. 
			
				Determines whether the relation set contains a relation that matches the specified type. in set, FALSE otherwise 
 
 | Atk.RelationSet | |
| 
			get_n_relations
				
				 () 
			
				
					 : 
					gint32
					
				
			
		 Determines the number of relations in a relation set. 
			
				Determines the number of relations in a relation set.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Atk.RelationSet | |
| 
			get_relation
				
				 (gint32 i) 
			
				
					 : 
					Atk.Relation
					
				
			
		 Determines the relation at the specified position in the relation set. 
			
				Determines the relation at the specified position in the relation set. position i in the set. 
 
 | Atk.RelationSet | |
| 
			get_relation_by_type
				
				 (RelationType relationship) 
			
				
					 : 
					Atk.Relation
					
				
			
		 Finds a relation that matches the specified type. 
			
				Finds a relation that matches the specified type. specified type. 
 
 | Atk.RelationSet | |
| 
			remove
				
				 (Relation relation) 
			
				
					 : 
					none
					
				
			
		 Removes a relation from the relation set. 
			
				Removes a relation from the relation set. This function unref's the AtkRelation so it will be deleted unless there is another reference to it. 
 
 | Atk.RelationSet | |
| None | 
| Class / Namespace | Method / Signal / Properties | 
|---|---|
| Atk.Object Method | 
			ref_relation_set
				
				 () 
			
				
					 : 
					Atk.RelationSet
					
				
			
		 Gets the AtkRelationSet associated with the object. |