[gtk+/popover-menu: 14/17] Add a scale to the popover menu example



commit 5c9abd17f3cc475b677300dc97bc08806c613ac4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 26 09:08:37 2014 -0400

    Add a scale to the popover menu example
    
    Demonstrate that this is flexible enough for the intended uses.

 tests/popover2.ui |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/tests/popover2.ui b/tests/popover2.ui
index 4b85bc3..e0646e4 100644
--- a/tests/popover2.ui
+++ b/tests/popover2.ui
@@ -505,6 +505,16 @@
       </packing>
     </child>
     <child>
+      <object class="GtkScale">
+        <property name="visible">True</property>
+        <property name="draw-value">False</property>
+        <property name="adjustment">adjustment</property>
+      </object>
+      <packing>
+        <property name="submenu">submenu2</property>
+      </packing>
+    </child>
+    <child>
       <object class="GtkModelButton">
         <property name="visible">True</property>
         <property name="text">Subsubmenu</property>
@@ -589,4 +599,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]