summaryrefslogtreecommitdiff
path: root/gtk/xembed.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-24 01:52:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-24 01:52:14 +0000
commit6a802b24b3308daac4533c5bb19dc8660c4b3ab8 (patch)
tree91ddc37b158ba5d6ba430e4016e8d4b42d81c981 /gtk/xembed.h
parentf97ae50153c212d18b03c198046fcd54d6562c97 (diff)
downloadgtk+-6a802b24b3308daac4533c5bb19dc8660c4b3ab8.tar.gz
Implement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
Sat Feb 23 20:33:29 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB XEMBED_GTK_KEY_UNGRAB pair of messages. * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach(). * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default widgets.
Diffstat (limited to 'gtk/xembed.h')
-rw-r--r--gtk/xembed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/xembed.h b/gtk/xembed.h
index d6de700f2a..14d55e604d 100644
--- a/gtk/xembed.h
+++ b/gtk/xembed.h
@@ -12,6 +12,10 @@
#define XEMBED_MODALITY_ON 10
#define XEMBED_MODALITY_OFF 11
+/* Non standard messages*/
+#define XEMBED_GTK_GRAB_KEY 108
+#define XEMBED_GTK_UNGRAB_KEY 109
+
/* Details for XEMBED_FOCUS_IN: */
#define XEMBED_FOCUS_CURRENT 0
#define XEMBED_FOCUS_FIRST 1