]> Pileus Git - ~andy/gtk/blob - gtk/gtkxembed.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkxembed.h
1 /* GTK - The GIMP Toolkit
2  * gtkxembed.c: Utilities for the XEMBED protocol
3  * Copyright (C) 2003, Red Hat, Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17  */
18
19 #ifndef __GTK_XEMBED_H__
20 #define __GTK_XEMBED_H__
21
22 #include "xembed.h"
23 #include "x11/gdkx.h"
24
25 G_BEGIN_DECLS
26
27 /* Latest version we implement */
28 #define GTK_XEMBED_PROTOCOL_VERSION 1
29
30 void _gtk_xembed_send_message       (GdkWindow         *recipient,
31                                      XEmbedMessageType  message,
32                                      glong              detail,
33                                      glong              data1,
34                                      glong              data2);
35 void _gtk_xembed_send_focus_message (GdkWindow         *recipient,
36                                      XEmbedMessageType  message,
37                                      glong              detail);
38
39 void        _gtk_xembed_push_message       (XEvent    *xevent);
40 void        _gtk_xembed_pop_message        (void);
41 void        _gtk_xembed_set_focus_wrapped  (void);
42 gboolean    _gtk_xembed_get_focus_wrapped  (void);
43 const char *_gtk_xembed_message_name       (XEmbedMessageType message);
44
45 G_END_DECLS
46
47 #endif /*  __GTK_XEMBED_H__ */