| CodeSlayer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <codeslayer/codeslayer-groups.h> struct CodeSlayerGroups; CodeSlayerGroups * codeslayer_groups_new (void); GList * codeslayer_groups_get_list (CodeSlayerGroups *groups); void codeslayer_groups_set_list (CodeSlayerGroups *groups,GList *list); void codeslayer_groups_add_group (CodeSlayerGroups *groups,CodeSlayerGroup *group); void codeslayer_groups_remove_group (CodeSlayerGroups *groups,CodeSlayerGroup *group); CodeSlayerGroup * codeslayer_groups_find_group (CodeSlayerGroups *groups,const gchar *name); CodeSlayerGroup * codeslayer_groups_find_next_group (CodeSlayerGroups *groups,const gchar *name); CodeSlayerGroup * codeslayer_groups_get_active_group (CodeSlayerGroups *groups); void codeslayer_groups_set_active_group (CodeSlayerGroups *groups,CodeSlayerGroup *group); #define CODESLAYER_DEFAULT_GROUP_DIR #define CODESLAYER_GROUPS_ACTVIE #define CODESLAYER_GROUPS_CONF #define CODESLAYER_GROUPS_DIR
CodeSlayerGroups * codeslayer_groups_new (void);
Creates a new CodeSlayerGroups.
Returns : |
a new CodeSlayerGroups. |
GList * codeslayer_groups_get_list (CodeSlayerGroups *groups);
|
a CodeSlayerGroups. |
Returns : |
The list of CodeSlayerGroup objects within the manager. |
void codeslayer_groups_set_list (CodeSlayerGroups *groups,GList *list);
|
a CodeSlayerGroups. |
|
the list of CodeSlayerGroup objects to add to the manager. |
void codeslayer_groups_add_group (CodeSlayerGroups *groups,CodeSlayerGroup *group);
|
a CodeSlayerGroups. |
|
the CodeSlayerGroup to add to the manager. |
void codeslayer_groups_remove_group (CodeSlayerGroups *groups,CodeSlayerGroup *group);
|
a CodeSlayerGroups. |
|
the CodeSlayerGroup to remove from the manager. |
CodeSlayerGroup * codeslayer_groups_find_group (CodeSlayerGroups *groups,const gchar *name);
|
a CodeSlayerGroups. |
|
the name of the CodeSlayerGroup to find. |
Returns : |
the group found by name. Will return NULL if the group specified by name is not found. |
CodeSlayerGroup * codeslayer_groups_find_next_group (CodeSlayerGroups *groups,const gchar *name);
|
a CodeSlayerGroups. |
|
the name of the CodeSlayerGroup to start the search from. |
Returns : |
the next logical group within the list. Will return NULL if the group specified by name is not found. |
CodeSlayerGroup * codeslayer_groups_get_active_group (CodeSlayerGroups *groups);
|
a CodeSlayerGroups. |
Returns : |
the active group in the manager. |
void codeslayer_groups_set_active_group (CodeSlayerGroups *groups,CodeSlayerGroup *group);
|
a CodeSlayerGroups. |
|
the CodeSlayerGroup to set as active in the manager. |
"list" property"list" gpointer : Read / Write
The list of CodeSlayerGroup objects in the manager.