UnionCollection
Object Hierarchy:
Description:
[
CCode ( type_id =
"gcr_union_collection_get_type ()" ) ]
public class UnionCollection :
Object,
Collection
An implementation of Collection, which combines the objects in other [
iface@Collection]s.
Use [method@UnionCollection.add] to add and [method@UnionCollection.remove] to remove them.
Content:
Creation methods:
Methods:
- public void add (Collection collection)
Add objects from this collection to the union
- public List<unowned Collection> elements ()
Get the collections that have been added to this union.
- public bool have (Collection collection)
Check whether the collection is present in the union.
- public void remove (Collection collection)
Remove an object from the collection.
- public uint size ()
Return the number of collections in this union.
- public void take (Collection collection)
Add objects from this collection to the union.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gcr.Collection