summaryrefslogtreecommitdiff
path: root/gtk/xembed.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-04-19 20:36:46 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-04-19 20:36:46 +0000
commitbf660df987e2eb2ac2f1f885178e0bbdb7d560b0 (patch)
tree5d135018addc3f99e185ce572150e9d8693f46ed /gtk/xembed.h
parente13ec2098affda07023d073a5527f0e61bb24058 (diff)
downloadgtk+-bf660df987e2eb2ac2f1f885178e0bbdb7d560b0.tar.gz
File containing #defines for XEMBED protocol.
Thu Apr 19 16:11:07 2001 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am xembed.h: File containing #defines for XEMBED protocol. * gtk/gtkplug.[ch] gtk/gtksocket.[ch]: - Change protocol from old plug/socket specific protocol to XEMBED draft - Various fixes to work with GTK+-2.0 Still quite a bit of work to do here to handle initiation from the socket side (as specified by XEMBED), to handle the more advanced features of XEMBED, and to figure out a good way to handle same-app embedding with less overhead than using full XEMBED.
Diffstat (limited to 'gtk/xembed.h')
-rw-r--r--gtk/xembed.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk/xembed.h b/gtk/xembed.h
new file mode 100644
index 0000000000..5c4e35d774
--- /dev/null
+++ b/gtk/xembed.h
@@ -0,0 +1,19 @@
+/* XEMBED messages */
+#define XEMBED_EMBEDDED_NOTIFY 0
+#define XEMBED_WINDOW_ACTIVATE 1
+#define XEMBED_WINDOW_DEACTIVATE 2
+#define XEMBED_REQUEST_FOCUS 3
+#define XEMBED_FOCUS_IN 4
+#define XEMBED_FOCUS_OUT 5
+#define XEMBED_FOCUS_NEXT 6
+#define XEMBED_FOCUS_PREV 7
+#define XEMBED_GRAB_KEY 8
+#define XEMBED_UNGRAB_KEY 9
+#define XEMBED_MODALITY_ON 10
+#define XEMBED_MODALITY_OFF 11
+
+/* Details for XEMBED_FOCUS_IN: */
+#define XEMBED_FOCUS_CURRENT 0
+#define XEMBED_FOCUS_FIRST 1
+#define XEMBED_FOCUS_LAST 2
+