diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-16 22:20:00 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-16 22:20:00 +0000 |
commit | c344b3f905a3681c28d0ac9f9521418e25853dea (patch) | |
tree | 53db78bcea77bd4ff23d1446186723965ca9ad6b /gtk/gtknotebook.h | |
parent | 0f9b242203ec9bd12e591a2c15008b4ef13ec1c9 (diff) | |
download | gtk+-c344b3f905a3681c28d0ac9f9521418e25853dea.tar.gz |
Propagate key press events not just to focus/window but also to
Thu Nov 15 12:54:36 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_key_press_event): Propagate
key press events not just to focus/window but also to
intermediate widgets.
* gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown
to switch pages. (Needs some work on handling focus
when switching pages.)
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r-- | gtk/gtknotebook.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h index 68ff3ad904..c4cbbf3a20 100644 --- a/gtk/gtknotebook.h +++ b/gtk/gtknotebook.h @@ -94,12 +94,12 @@ struct _GtkNotebookClass guint page_num); /* Action signals for keybindings */ - void (* select_page) (GtkNotebook *notebook, - gboolean move_focus); - - void (* focus_tab) (GtkNotebook *notebook, - GtkNotebookTab type); - + void (* select_page) (GtkNotebook *notebook, + gboolean move_focus); + void (* focus_tab) (GtkNotebook *notebook, + GtkNotebookTab type); + void (* change_current_page) (GtkNotebook *notebook, + gint offset); }; /*********************************************************** |