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.)
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
/***********************************************************
|
||||
|
||||
Reference in New Issue
Block a user