From 508f5b21757deae01fc74330c5c0403b6d1e7db6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 11 Oct 2015 18:55:49 -0400 Subject: [PATCH] gtk-demo: Beef up the shortcuts demo Add a second shortcuts window with some more complicated accelerators, which are currently not handled perfectly, such as Ctrl+Left. --- demos/gtk-demo/shortcuts.ui | 99 ++++++++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/demos/gtk-demo/shortcuts.ui b/demos/gtk-demo/shortcuts.ui index 75538a875b..929d95a3e8 100644 --- a/demos/gtk-demo/shortcuts.ui +++ b/demos/gtk-demo/shortcuts.ui @@ -7,7 +7,32 @@ resource:///icons/gesture-two-finger-swipe-right.svg - + + + + 1 + 50 + 10 + + + 1 + Builder + + + + + + 1 + Clocks + + + + + + + + window1 + 1 Editor Shortcuts @@ -294,4 +319,76 @@ editor + + window1 + 1 + + + Shortcuts + + + + General + + <ctrl>Page_Down + Go to the next view + + + <ctrl>Page_Up + Go to the previous view + + + <alt>Q + Quit + + + <alt>Left + Forward + + + <ctrl>Right + Back + + + + World Clocks + + <ctrl>N + Add a world clock + + + <ctrl>S + Select world clocks + + + + + + Alarm + + <ctrl>N + Add an alarm + + + <ctrl>S + Select alarms + + + + Stopwatch + + <ctrl>N + Add an alarm + + + <ctrl>S + Select alarms + + + + + + + shortcuts +