diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-06-07 00:07:32 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-06-07 00:07:32 +0000 |
commit | 157dc163b68e75cd51f3b250a9084e382f1393d3 (patch) | |
tree | 29dc8ee4afd5a6eab7cd218a0c55b267a855fd06 /gtk/gtktreeview.h | |
parent | cf3d1e1f6f6e69c7446441b0b07ba178201585a1 (diff) | |
download | gtk+-157dc163b68e75cd51f3b250a9084e382f1393d3.tar.gz |
Handle key bindings to expand and collapse rows.
Wed Jun 6 20:01:38 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c
(gtk_tree_view_real_expand_collapse_cursor_row): Handle key
bindings to expand and collapse rows.
(gtk_tree_view_real_select_cursor_parent): New key binding.
(gtk_tree_view_real_toggle_cursor_row): New key binding.
* gtk/gtkmarshal.list: new
marshaller. (VOID__BOOLEAN_BOOLEAN_BOOLEAN)
Diffstat (limited to 'gtk/gtktreeview.h')
-rw-r--r-- | gtk/gtktreeview.h | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h index aef4ae5e2c..d6f827fbf9 100644 --- a/gtk/gtktreeview.h +++ b/gtk/gtktreeview.h @@ -64,31 +64,32 @@ struct _GtkTreeViewClass { GtkContainerClass parent_class; - void (* set_scroll_adjustments) (GtkTreeView *tree_view, - GtkAdjustment *hadjustment, - GtkAdjustment *vadjustment); - void (* row_activated) (GtkTreeView *tree_view, - GtkTreePath *path, - GtkTreeViewColumn *column); - gboolean (* expand_row) (GtkTreeView *tree_view, - GtkTreeIter *iter, - GtkTreePath *path); - gboolean (* collapse_row) (GtkTreeView *tree_view, - GtkTreeIter *iter, - GtkTreePath *path); - void (* columns_changed) (GtkTreeView *tree_view); + void (* set_scroll_adjustments) (GtkTreeView *tree_view, + GtkAdjustment *hadjustment, + GtkAdjustment *vadjustment); + void (* row_activated) (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column); + gboolean (* expand_row) (GtkTreeView *tree_view, + GtkTreeIter *iter, + GtkTreePath *path); + gboolean (* collapse_row) (GtkTreeView *tree_view, + GtkTreeIter *iter, + GtkTreePath *path); + void (* columns_changed) (GtkTreeView *tree_view); /* Key Binding signals */ - void (* move_cursor) (GtkTreeView *tree_view, - GtkMovementStep step, - gint count, - gboolean extend_selection); - void (* set_anchor) (GtkTreeView *tree_view); - void (* expand_selected_row) (GtkTreeView *tree_view); - void (* collapse_selected_row) (GtkTreeView *tree_view); - void (* expand_all_selected_row)(GtkTreeView *tree_view); - void (* select_selected_parent) (GtkTreeView *tree_view); - + void (* move_cursor) (GtkTreeView *tree_view, + GtkMovementStep step, + gint count, + gboolean extend_selection); + void (* set_anchor) (GtkTreeView *tree_view); + void (* toggle_cursor_row) (GtkTreeView *tree_view); + void (* expand_collapse_cursor_row) (GtkTreeView *tree_view, + gboolean logical, + gboolean expand, + gboolean open_all); + void (* select_cursor_parent) (GtkTreeView *tree_view); }; |