1 /* GTK - The GIMP Toolkit
2 * gtkxembed.c: Utilities for the XEMBED protocol
3 * Copyright (C) 2003, Red Hat, Inc.
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.
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.
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/>.
19 #ifndef __GTK_XEMBED_H__
20 #define __GTK_XEMBED_H__
27 /* Latest version we implement */
28 #define GTK_XEMBED_PROTOCOL_VERSION 1
30 void _gtk_xembed_send_message (GdkWindow *recipient,
31 XEmbedMessageType message,
35 void _gtk_xembed_send_focus_message (GdkWindow *recipient,
36 XEmbedMessageType message,
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);
47 #endif /* __GTK_XEMBED_H__ */