summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-04-18 22:21:45 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-04-18 22:21:45 +0000
commite13ec2098affda07023d073a5527f0e61bb24058 (patch)
treeda55e387e7ea91e3117bbef250a9d7f7d0ecfd67 /gtk/gtkwindow.h
parentd367049d756d091a6fa1f123800e23c5461e8265 (diff)
downloadgtk+-e13ec2098affda07023d073a5527f0e61bb24058.tar.gz
add signals and binding set, so keybindings are configurable
2001-04-18 Havoc Pennington <hp@redhat.com> * gtk/gtkwindow.c (gtk_window_class_init): add signals and binding set, so keybindings are configurable (gtk_window_activate_default): Change to activate the focus widget instead if there's a focus widget, to be consistent with the behavior that previously existed in key_press_event
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r--gtk/gtkwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 5264ccd476..8688917297 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -113,6 +113,13 @@ struct _GtkWindowClass
GtkWidget *focus);
gboolean (* frame_event) (GtkWidget *widget,
GdkEvent *event);
+
+ /* G_SIGNAL_ACTION signals for keybindings */
+
+ void (* activate_focus) (GtkWindow *window);
+ void (* activate_default) (GtkWindow *window);
+ void (* move_focus) (GtkWindow *window,
+ GtkDirectionType direction);
};