GTK+2 panel 

GTK+2 panel Git Source Tree

Root/taskbar.c

1#include "customwidgets.h"
2
3#define WNCK_I_KNOW_THIS_IS_UNSTABLE 1
4#include <libwnck/libwnck.h>
5
6
7GtkWidget *
8gp_taskbar_new (gchar *widget_name,
9gchar *string1,
10gchar *string2,
11gint int1,
12gint int2)
13{
14 WnckScreen *screen;
15 GtkWidget *widget;
16
17 screen = wnck_screen_get_default ();
18 wnck_screen_force_update (screen);
19
20 widget = wnck_tasklist_new (screen);
21 wnck_tasklist_set_grouping (WNCK_TASKLIST (widget), WNCK_TASKLIST_AUTO_GROUP);
22 wnck_tasklist_set_include_all_workspaces (WNCK_TASKLIST (widget), FALSE);
23
24 return widget;
25}

Archive Download this file

Branches

Tags