Miscellaneous Functions

Miscellaneous Functions — other additional features.

Stability Level

Unstable, unless otherwise indicated

Functions

Types and Values

Includes

#include <libwnck/libwnck.h>

Description

These functions are utility functions providing some additional features to libwcnk users.

Functions

wnck_gtk_window_set_dock_type ()

void
wnck_gtk_window_set_dock_type (GtkWindow *window);

wnck_gtk_window_set_dock_type has been deprecated since version 2.20 and should not be used in newly-written code.

Use gdk_window_set_type_hint() instead.

Sets the semantic type of window to WNCK_WINDOW_DOCK.

Parameters

window

a GtkWindow.

 

wnck_set_client_type ()

void
wnck_set_client_type (WnckClientType ewmh_sourceindication_client_type);

Sets the role of the libwnck user.

The default role is WNCK_CLIENT_TYPE_APPLICATION. Therefore, for applications providing some window management features, like pagers or tasklists, it is important to set the role to WNCK_CLIENT_TYPE_PAGER for libwnck to properly work.

Parameters

ewmh_sourceindication_client_type

a role for the client.

 

Since 2.14

Types and Values

enum WnckClientType

Type describing the role of the libwnck user.

Members

WNCK_CLIENT_TYPE_APPLICATION

the libwnck user is a normal application.

 

WNCK_CLIENT_TYPE_PAGER

the libwnck user is an utility application dealing with window management, like pagers and taskbars.

 

Since 2.14