diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2002-02-09 13:05:02 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2002-02-09 13:05:02 +0000 |
commit | f38b529c6a7d2cf08df1cb8f730dd54ebdbcfb54 (patch) | |
tree | b862736f3c65b9e552b8bec0f1d01a7d7e653ac1 /gtk/gtkpaned.h | |
parent | 60542887d5f85d976e71ded505a99d29fe2570a4 (diff) | |
download | gtk+-f38b529c6a7d2cf08df1cb8f730dd54ebdbcfb54.tar.gz |
Keyboard navigation for GtkPaned F6: cycle between panes. F8: focus handle
Sat Feb 9 13:58:41 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkpaned.[ch]: Keyboard navigation for GtkPaned
F6: cycle between panes.
F8: focus handle (#53584)
* tests/testgtk.c: Add test cases for GtkPaned keyboard
navigation.
Diffstat (limited to 'gtk/gtkpaned.h')
-rw-r--r-- | gtk/gtkpaned.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gtk/gtkpaned.h b/gtk/gtkpaned.h index 7606be2a70..115dd12a6e 100644 --- a/gtk/gtkpaned.h +++ b/gtk/gtkpaned.h @@ -72,11 +72,28 @@ struct _GtkPaned guint child2_shrink : 1; guint child2_resize : 1; guint orientation : 1; -}; + guint in_recursion : 1; + GtkWidget *last_child1_focus; + GtkWidget *last_child2_focus; + GtkWidget *saved_focus; + + gint original_position; +}; + struct _GtkPanedClass { GtkContainerClass parent_class; + + gboolean (* cycle_child_focus) (GtkPaned *paned, + gboolean reverse); + gboolean (* toggle_handle_focus) (GtkPaned *paned); + gboolean (* move_handle) (GtkPaned *paned, + GtkScrollType scroll); + gboolean (* cycle_handle_focus) (GtkPaned *paned, + gboolean reverse); + gboolean (* accept_position) (GtkPaned *paned); + gboolean (* cancel_position) (GtkPaned *paned); }; |