]> Pileus Git - ~andy/gtk/blob - gtk/gtkxembed.h
Revert name change
[~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, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __GTK_XEMBED_H__
22 #define __GTK_XEMBED_H__
23
24 #include "xembed.h"
25 #include "x11/gdkx.h"
26
27 G_BEGIN_DECLS
28
29 /* Latest version we implement */
30 #define GTK_XEMBED_PROTOCOL_VERSION 1
31
32 void _gtk_xembed_send_message       (GdkWindow         *recipient,
33                                      XEmbedMessageType  message,
34                                      glong              detail,
35                                      glong              data1,
36                                      glong              data2);
37 void _gtk_xembed_send_focus_message (GdkWindow         *recipient,
38                                      XEmbedMessageType  message,
39                                      glong              detail);
40
41 void        _gtk_xembed_push_message       (XEvent    *xevent);
42 void        _gtk_xembed_pop_message        (void);
43 void        _gtk_xembed_set_focus_wrapped  (void);
44 gboolean    _gtk_xembed_get_focus_wrapped  (void);
45 const char *_gtk_xembed_message_name       (XEmbedMessageType message);
46
47 G_END_DECLS
48
49 #endif /*  __GTK_XEMBED_H__ */