blob: 218e40f5874a8c8f2b233f932e30672be7aecd4f (
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
|
#ifndef __MDOCK_WINDOW_H__
#define __MDOCK_WINDOW_H__
#include <gtk/gtk.h>
#define WNCK_I_KNOW_THIS_IS_UNSTABLE 1
#include <libwnck/libwnck.h>
G_BEGIN_DECLS
#define MDOCK_TYPE_WINDOW (mdock_window_get_type ())
#define MDOCK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MDOCK_TYPE_WINDOW, MDockWindow))
#define MDOCK_WINDOW_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MDOCK_TYPE_WINDOW, MDockWindow const))
#define MDOCK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MDOCK_TYPE_WINDOW, MDockWindowClass))
#define MDOCK_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MDOCK_TYPE_WINDOW))
#define MDOCK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MDOCK_TYPE_WINDOW))
#define MDOCK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MDOCK_TYPE_WINDOW, MDockWindowClass))
typedef struct _MDockWindow MDockWindow;
typedef struct _MDockWindowClass MDockWindowClass;
typedef struct _MDockWindowPrivate MDockWindowPrivate;
struct _MDockWindow {
GtkEventBox parent;
WnckWindow *window;
MDockWindowPrivate *priv;
};
struct _MDockWindowClass {
GtkEventBoxClass parent_class;
};
GType mdock_window_get_type(void) G_GNUC_CONST;
void mdock_window_update_screenshot(MDockWindow *window);
void mdock_window_schedule_screenshot(MDockWindow *window);
MDockWindow *mdock_window_new(WnckWindow *window);
G_END_DECLS
#endif /* __MDOCK_WINDOW_H__ */
|