diff options
Diffstat (limited to 'libwnck/tasklist.h')
-rw-r--r-- | libwnck/tasklist.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libwnck/tasklist.h b/libwnck/tasklist.h index 9c99cd5..4a60c85 100644 --- a/libwnck/tasklist.h +++ b/libwnck/tasklist.h @@ -50,12 +50,18 @@ struct _WnckTasklistClass GtkContainerClass parent_class; }; +typedef enum { + WNCK_TASKLIST_NEVER_GROUP, + WNCK_TASKLIST_AUTO_GROUP, + WNCK_TASKLIST_ALWAYS_GROUP, +} WnckTasklistGroupingType; + GType wnck_tasklist_get_type (void) G_GNUC_CONST; GtkWidget *wnck_tasklist_new (WnckScreen *screen); -void wnck_tasklist_set_allow_grouping (WnckTasklist *tasklist, - gboolean allow_grouping); +void wnck_tasklist_set_grouping (WnckTasklist *tasklist, + WnckTasklistGroupingType grouping); void wnck_tasklist_set_grouping_limit (WnckTasklist *tasklist, gint limit); void wnck_tasklist_set_include_all_workspaces (WnckTasklist *tasklist, |