[gtk+] Add a scale to the popover menu example
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add a scale to the popover menu example
- Date: Wed, 29 Oct 2014 10:51:45 +0000 (UTC)
commit f83c903ed8551b0c8ca5517c7b52a24d40a82965
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 26 19:11:33 2014 -0400
Add a scale to the popover menu example
Demonsttrate that this is flexible enough for the intended uses.
tests/popover2.ui | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/popover2.ui b/tests/popover2.ui
index 10a2241..25bef9c 100644
--- a/tests/popover2.ui
+++ b/tests/popover2.ui
@@ -473,6 +473,13 @@
</object>
</child>
<child>
+ <object class="GtkScale">
+ <property name="visible">True</property>
+ <property name="draw-value">False</property>
+ <property name="adjustment">adjustment</property>
+ </object>
+ </child>
+ <child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="text">Subsubmenu</property>
@@ -554,4 +561,9 @@
<object class="GThemedIcon" id="icon-underline">
<property name="name">format-text-underline-symbolic</property>
</object>
+ <object class="GtkAdjustment" id="adjustment">
+ <property name="lower">0</property>
+ <property name="upper">100</property>
+ <property name="value">50</property>
+ </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]