diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-17 00:34:58 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-17 00:34:58 +0000 |
commit | ee2d7c455696778dcd1ae0710b25678ce39d952b (patch) | |
tree | bff6dbf863f85c1e7c56d222f04751b8a462efa8 /gtk/gtknotebook.h | |
parent | 226b2fa14b249949c7c550645a521a977ecd06da (diff) | |
download | gtk+-ee2d7c455696778dcd1ae0710b25678ce39d952b.tar.gz |
Support "optional" bindings. If a binding signal has a boolean return
Wed Jan 16 19:23:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbindings.c (gtk_binding_entry_activate):
Support "optional" bindings. If a binding signal
has a boolean return value, and returns FALSE it
is as if it didn't exist all.
* gtk/gtkbindings.c (binding_compose_params): Switch
over to GValue.
* gtk/gtknotebook.[ch]: Make the select_page() and
change_current_page() signals only take effect when
the focus is on the tab area so that key presses
in children pass up to the toplevel correctly.
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r-- | gtk/gtknotebook.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h index c4cbbf3a20..65d6fd4362 100644 --- a/gtk/gtknotebook.h +++ b/gtk/gtknotebook.h @@ -94,9 +94,9 @@ struct _GtkNotebookClass guint page_num); /* Action signals for keybindings */ - void (* select_page) (GtkNotebook *notebook, + gboolean (* select_page) (GtkNotebook *notebook, gboolean move_focus); - void (* focus_tab) (GtkNotebook *notebook, + gboolean (* focus_tab) (GtkNotebook *notebook, GtkNotebookTab type); void (* change_current_page) (GtkNotebook *notebook, gint offset); |