diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-02-24 01:52:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-24 01:52:14 +0000 |
commit | 6a802b24b3308daac4533c5bb19dc8660c4b3ab8 (patch) | |
tree | 91ddc37b158ba5d6ba430e4016e8d4b42d81c981 /gtk/gtkwindow.h | |
parent | f97ae50153c212d18b03c198046fcd54d6562c97 (diff) | |
download | gtk+-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/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 2aaa13eb97..c8e79474b4 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -340,6 +340,16 @@ GtkWindowGroup *_gtk_window_get_group (GtkWindow *window); gboolean _gtk_window_activate_key (GtkWindow *window, GdkEventKey *event); +typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window, + guint keyval, + GdkModifierType modifiers, + gboolean is_mnemonic, + gpointer data); + +void _gtk_window_keys_foreach (GtkWindow *window, + GtkWindowKeysForeachFunc func, + gpointer func_data); + /* --- internal (GtkAcceleratable) --- */ gboolean _gtk_window_query_nonaccels (GtkWindow *window, guint accel_key, |