[gtk+] gtk-demo: Add a range example to the shortcuts demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: Add a range example to the shortcuts demo
- Date: Thu, 22 Oct 2015 18:33:03 +0000 (UTC)
commit defd3146ebfdda12d515463d4659f11cc9f29cd8
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 22 14:32:08 2015 -0400
gtk-demo: Add a range example to the shortcuts demo
This shows off the new range display capability that I just added.
demos/gtk-demo/shortcuts-builder.ui | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/shortcuts-builder.ui b/demos/gtk-demo/shortcuts-builder.ui
index f6777e2..96ac72a 100644
--- a/demos/gtk-demo/shortcuts-builder.ui
+++ b/demos/gtk-demo/shortcuts-builder.ui
@@ -447,6 +447,19 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkShortcutsGroup">
+ <property name="visible">1</property>
+ <property name="title" translatable="yes">Switching</property>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">1</property>
+ <property name="accelerator"><alt>1...9</property>
+ <property name="title" translatable="yes">Switch to n-th tab</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]