| Libmatewnck Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <libmatewnck/libmatewnck.h> void matewnck_gtk_window_set_dock_type (GtkWindow *window); enum MatewnckClientType; void matewnck_set_client_type (MatewnckClientType ewmh_sourceindication_client_type);
These functions are utility functions providing some additional features to libwcnk users.
void matewnck_gtk_window_set_dock_type (GtkWindow *window);
matewnck_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 MATEWNCK_WINDOW_DOCK.
|
a GtkWindow. |
typedef enum {
MATEWNCK_CLIENT_TYPE_APPLICATION = 1,
MATEWNCK_CLIENT_TYPE_PAGER = 2
} MatewnckClientType;
Type describing the role of the libmatewnck user.
| the libmatewnck user is a normal application. | |
| the libmatewnck user is an utility application dealing with window management, like pagers and taskbars. |
Since 2.14
void matewnck_set_client_type (MatewnckClientType ewmh_sourceindication_client_type);
Sets the role of the libmatewnck user.
The default role is MATEWNCK_CLIENT_TYPE_APPLICATION. Therefore, for
applications providing some window management features, like pagers or
tasklists, it is important to set the role to MATEWNCK_CLIENT_TYPE_PAGER for
libmatewnck to properly work.
|
a role for the client. |
Since 2.14