Handle view bindings through an action signal

This makes them adjustable.
This commit is contained in:
2022-01-09 07:44:47 +01:00
parent 09e5a02ed6
commit 25dcc3b136
3 changed files with 128 additions and 121 deletions

View File

@@ -61,6 +61,12 @@ _~/.config/gtk-3.0/gtk.css_:
fiv-browser { -FivBrowser-spacing: 0; padding: 0; border: 0; margin: 0; }
Similarly, you can adjust some of the key bindings, as per the command table
in link:fiv-view.h[]:
@binding-set ViewBindings { bind 'p' { 'command' (print) }; }
fiv-view { -gtk-key-bindings: ViewBindings; }
Should you want to experiment, you will find the GTK+ inspector very helpful.
Contributing and Support