Created
February 2, 2019 23:03
-
-
Save corpulentcoffee/94eef008e3b7c04b2c94c990920dcf5c to your computer and use it in GitHub Desktop.
Enable arrow key expansion/collapse for tree views in GTK+ 2 applications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
binding 'gtk-binding-tree-view' { | |
bind 'Left' { 'expand-collapse-cursor-row' (0,0,0) } # fold | |
bind 'Right' { 'expand-collapse-cursor-row' (0,1,0) } # expand | |
} | |
class 'GtkTreeView' binding 'gtk-binding-tree-view' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment