From 8768c0b8ac1fb6d997ec5708c0d85fa2e0a01148 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 4 Dec 2015 10:55:20 -0500 Subject: shortcuts: Extend the accelerator syntax more Cover cases like left+right control, and render them nicely. The gtk3-demo builder shortcuts example shows the new possibilities. --- demos/gtk-demo/shortcuts-builder.ui | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'demos/gtk-demo/shortcuts-builder.ui') diff --git a/demos/gtk-demo/shortcuts-builder.ui b/demos/gtk-demo/shortcuts-builder.ui index 6b587f2e72..20ed76009a 100644 --- a/demos/gtk-demo/shortcuts-builder.ui +++ b/demos/gtk-demo/shortcuts-builder.ui @@ -502,6 +502,44 @@ + + + + 1 + 'Special' combinations + + + + 1 + t+t + You want tea ? + + + + + 1 + <shift><ctrl> + Shift Control + + + + + 1 + <ctrl>&<ctrl> + Control Control + + + + + 1 + Control_L&Control_R + Left and right control + + + + + + -- cgit v1.2.1