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



commit 9b8043be9357ab308679ebe30908d816f9f1b9a9
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]