Details
GTS_CONTAINER_CLASS()
#define GTS_CONTAINER_CLASS(klass)
GTS_CONTAINER()
#define GTS_CONTAINER(obj)
GTS_IS_CONTAINER()
#define GTS_IS_CONTAINER(obj)
GtsContainerClass
typedef struct {
GtsSListContaineeClass parent_class;
void (* add) (GtsContainer *, GtsContainee *);
void (* remove) (GtsContainer *, GtsContainee *);
void (* foreach) (GtsContainer *, GtsFunc, gpointer);
guint (* size) (GtsContainer *);
} GtsContainerClass;
GtsContainer
typedef struct {
GtsSListContainee object;
} GtsContainer;
The container object.
gts_container_size ()
guint gts_container_size (GtsContainer *c);
gts_container_foreach ()
void gts_container_foreach (GtsContainer *c,
GtsFunc func,
gpointer data);
GTS_HASH_CONTAINER_CLASS()
#define GTS_HASH_CONTAINER_CLASS(klass)
GTS_HASH_CONTAINER()
#define GTS_HASH_CONTAINER(obj)
GTS_IS_HASH_CONTAINER()
#define GTS_IS_HASH_CONTAINER(obj)
GtsHashContainerClass
typedef struct {
GtsContainerClass parent_class;
} GtsHashContainerClass;
GtsHashContainer
typedef struct {
GtsContainer c;
GHashTable * items;
gboolean frozen;
} GtsHashContainer;
GTS_SLIST_CONTAINER_CLASS()
#define GTS_SLIST_CONTAINER_CLASS(klass)
GTS_SLIST_CONTAINER()
#define GTS_SLIST_CONTAINER(obj)
GTS_IS_SLIST_CONTAINER()
#define GTS_IS_SLIST_CONTAINER(obj)
GtsSListContainerClass
typedef struct {
GtsContainerClass parent_class;
} GtsSListContainerClass;
GtsSListContainer
typedef struct {
GtsContainer c;
GSList * items;
gboolean frozen;
} GtsSListContainer;