summaryrefslogtreecommitdiff
path: root/libwnck/wnck-handle-private.h
blob: 05ce22bd0b9ab63efe944afe753646a854c43664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
 * Copyright (C) 2021 Alberts Muktupāvels
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */

#ifndef WNCK_HANDLE_PRIVATE_H
#define WNCK_HANDLE_PRIVATE_H

#include "class-group.h"
#include "util.h"

G_BEGIN_DECLS

typedef struct _WnckHandle WnckHandle;

WnckHandle      *_wnck_handle_new                        (WnckClientType  client_type);

WnckClientType   _wnck_handle_get_client_type            (WnckHandle     *self);

WnckScreen      *_wnck_handle_get_default_screen         (WnckHandle     *self);

WnckScreen      *_wnck_handle_get_screen                 (WnckHandle     *self,
                                                          int             index);

WnckScreen      *_wnck_handle_get_screen_for_root        (WnckHandle     *self,
                                                          gulong          root_window_id);

WnckScreen      *_wnck_handle_get_existing_screen        (WnckHandle     *self,
                                                          int             number);

void             _wnck_handle_set_default_icon_size      (WnckHandle     *self,
                                                          gsize           icon_size);

gsize            _wnck_handle_get_default_icon_size      (WnckHandle     *self);

void             _wnck_handle_set_default_mini_icon_size (WnckHandle     *self,
                                                          gsize           icon_size);

gsize            _wnck_handle_get_default_mini_icon_size (WnckHandle     *self);

void             _wnck_handle_insert_class_group         (WnckHandle      *self,
                                                          const char      *id,
                                                          WnckClassGroup  *class_group);

void             _wnck_handle_remove_class_group         (WnckHandle      *self,
                                                          const char      *id);

WnckClassGroup  *_wnck_handle_get_class_group            (WnckHandle      *self,
                                                          const char      *id);

void             _wnck_handle_insert_application         (WnckHandle      *self,
                                                          gpointer         xwindow,
                                                          WnckApplication *app);

void             _wnck_handle_remove_application         (WnckHandle      *self,
                                                          gpointer         xwindow);

WnckApplication *_wnck_handle_get_application            (WnckHandle      *self,
                                                          gulong           xwindow);

void             _wnck_handle_insert_window              (WnckHandle      *self,
                                                          gpointer         xwindow,
                                                          WnckWindow      *window);

void             _wnck_handle_remove_window              (WnckHandle      *self,
                                                          gpointer         xwindow);

WnckWindow      *_wnck_handle_get_window                 (WnckHandle      *self,
                                                          gulong           xwindow);

G_END_DECLS

#endif