summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.key.emacs
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2002-02-19 21:16:49 +0000
committerKristian Rietveld <kristian@src.gnome.org>2002-02-19 21:16:49 +0000
commit19f961d46abc4cedba7cbabd328a9bb4560871dc (patch)
tree133f563b67061c4e8d1a38e600a0132df8fc3347 /gtk/gtkrc.key.emacs
parentfde8cad894c8222322fba2a3a5f58d7ed3e4e341 (diff)
downloadgtk+-19f961d46abc4cedba7cbabd328a9bb4560871dc.tar.gz
new function (gtk_tree_view_column_create_button): use g_signal_* instead
Tue Feb 19 22:10:59 2002 Kristian Rietveld <kris@gtk.org> * gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new function (gtk_tree_view_column_create_button): use g_signal_* instead of gtk_signal_*, hook up _mnemonic_activate callback (gtk_tree_view_column_update_button): use gtk_label_set_text_width_mnemonic instead of gtk_label_set_text (#69095) * gtktreeview.c (gtk_tree_view_class_init): remove key bindings for C-f and C-b, let treeview search use C-f (instead of C-s) (#61886) * gtkrc.key.emacs: add some GtkTreeView bindings
Diffstat (limited to 'gtk/gtkrc.key.emacs')
-rw-r--r--gtk/gtkrc.key.emacs11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkrc.key.emacs b/gtk/gtkrc.key.emacs
index ce5e737c2a..bd2bd5c74d 100644
--- a/gtk/gtkrc.key.emacs
+++ b/gtk/gtkrc.key.emacs
@@ -50,6 +50,17 @@ binding "gtk-emacs-text-view"
bind "<ctrl>KP_Space" { "set-anchor" () }
}
+#
+# Bindings for GtkTreeView
+#
+binding "gtk-emacs-tree-view"
+{
+ bind "<ctrl>s" { "start-interactive-search" () }
+ bind "<ctrl>f" { "move-cursor" (logical-positions, 1) }
+ bind "<ctrl>b" { "move-cursor" (logical-positions, -1) }
+}
+
class "GtkEntry" binding "gtk-emacs-text-entry"
class "GtkTextView" binding "gtk-emacs-text-entry"
class "GtkTextView" binding "gtk-emacs-text-view"
+class "GtkTreeView" binding "gtk-emacs-tree-view"