| GPE Manual: libgpewidget Reference | ||||
|---|---|---|---|---|
| Top | Description | ||||
GPEWindowList; GPEWindowListClass; #define GPE_WINDOW_LIST_CONST (obj) gboolean gpe_get_client_window_list (Display *dpy,Window **list,guint *nr); GdkPixbuf * gpe_get_window_icon (Display *dpy,Window w); gchar * gpe_get_window_name (Display *dpy,Window w); Atom gpe_get_window_property (Display *dpy,Window w,Atom property); gboolean gpe_get_wm_class (Display *dpy,Window w,gchar **instance,gchar **class); Window gpe_get_wm_leader (Display *dpy,Window w); GList * gpe_window_list_get_clients (GPEWindowList *Param1); GObject * gpe_window_list_new (GdkScreen *Param1);
typedef struct {
GObject class;
GdkScreen *screen;
Atom net_client_list_atom;
Atom net_active_window_atom;
GList *windows;
} GPEWindowList;
#define GPE_WINDOW_LIST_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), gpe_window_list_get_type(), GPEWindowList const)
gboolean gpe_get_client_window_list (Display *dpy,Window **list,guint *nr);
GdkPixbuf * gpe_get_window_icon (Display *dpy,Window w);
Query a window for its icon.
|
X display to use |
|
Window to query for icon |
Returns : |
A new allocated GdkPixbuf on succes, NULL on failure. |
gboolean gpe_get_wm_class (Display *dpy,Window w,gchar **instance,gchar **class);
GList * gpe_window_list_get_clients (GPEWindowList *Param1);
Retrieve a list of the active clients on the screen associated with this GPEWindowList.
Returns : |
A GList of Window pointers. |