Interface
GcrCollection
Description [src]
interface Gcr.Collection : GObject.ObjectA GcrCollection is used to group a set of objects.
This is an abstract interface which can be used to determine which objects show up in a selector or other user interface element.
Use gcr_simple_collection_new() to create a concrete implementation of this
interface which you can add objects to.
Prerequisite
In order to implement Collection, your type must inherit fromGObject.
Instance methods
gcr_collection_emit_added
Emit the GcrCollection::added signal for the given object. This function
is used by implementors of this interface.
gcr_collection_emit_removed
Emit the GcrCollection::removed signal for the given object. This function
is used by implementors of this interface.
Interface structure
struct GcrCollectionIface {
  GTypeInterface parent;
  void (* added) (
    GcrCollection* self,
    GObject* object
  );
  void (* removed) (
    GcrCollection* self,
    GObject* object
  );
  guint (* get_length) (
    GcrCollection* self
  );
  GList* (* get_objects) (
    GcrCollection* self
  );
  gboolean (* contains) (
    GcrCollection* self,
    GObject* object
  );
  
}No description available.
Interface members
| parent |  | 
| No description available. | |
| added |  | 
| No description available. | |
| removed |  | 
| No description available. | |
| get_length |  | 
| No description available. | |
| get_objects |  | 
| No description available. | |
| contains |  | 
| No description available. |