[gtk+/quartz-integration: 355/563] Add a scrollbar to the range testcase



commit b4cd0fc5d987c49c6b5fb7de7dbce93767be3dd1
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 21 19:12:55 2011 -0400

    Add a scrollbar to the range testcase

 tests/a11y/range.txt |  107 +++++++++++++++++++++++++++++++-------------------
 tests/a11y/range.ui  |   26 +++++++++++-
 2 files changed, 89 insertions(+), 44 deletions(-)
---
diff --git a/tests/a11y/range.txt b/tests/a11y/range.txt
index cb9ce51..dfe1861 100644
--- a/tests/a11y/range.txt
+++ b/tests/a11y/range.txt
@@ -6,50 +6,75 @@ window1
   <AtkComponent>
   layer: window
   alpha: 1
-  scale1
-    "slider"
+  grid1
+    "panel"
     parent: window1
     index: 0
-    state: enabled focusable horizontal sensitive showing visible
+    state: enabled horizontal sensitive showing visible
     toolkit: gail
     <AtkComponent>
     layer: widget
     alpha: 1
-    <AtkText>
-    text: ?45.5
-    character count: 5
-    caret offset: 0
-    default attributes: left-margin: 0
-                        right-margin: 0
-                        indent: 0
-                        invisible: false
-                        editable: false
-                        pixels-above-lines: 0
-                        pixels-below-lines: 0
-                        pixels-inside-wrap: 0
-                        bg-full-height: 0
-                        scale: 1
-                        rise: 0
-                        underline: none
-                        strikethrough: false
-                        bg-stipple: false
-                        fg-stipple: false
-                        fg-color: <omitted>
-                        bg-color: <omitted>
-                        wrap-mode: word
-                        justification: left
-                        size: <omitted>
-                        weight: <omitted>
-                        family-name: <omitted>
-                        stretch: <omitted>
-                        variant: <omitted>
-                        style: <omitted>
-                        language: <omitted>
-                        direction: <omitted>
-    <AtkAction>
-    action 0 name: activate
-    <AtkValue>
-    minimum value: 0.500000
-    maximum value: 99.500000
-    current value: 45.500000
-    minimum increment: 0.500000
+    scrollbar1
+      "scroll bar"
+      parent: grid1
+      index: 0
+      state: enabled focusable horizontal sensitive showing visible
+      toolkit: gail
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkAction>
+      action 0 name: activate
+      <AtkValue>
+      minimum value: 0.500000
+      maximum value: 99.500000
+      current value: 45.500000
+      minimum increment: 0.500000
+    scale1
+      "slider"
+      parent: grid1
+      index: 1
+      state: enabled focusable horizontal sensitive showing visible
+      toolkit: gail
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkText>
+      text: â45.5
+      character count: 5
+      caret offset: 0
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: <omitted>
+                          bg-color: <omitted>
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
+      <AtkAction>
+      action 0 name: activate
+      <AtkValue>
+      minimum value: 0.500000
+      maximum value: 99.500000
+      current value: 45.500000
+      minimum increment: 0.500000
diff --git a/tests/a11y/range.ui b/tests/a11y/range.ui
index 21dee12..9c1ac45 100644
--- a/tests/a11y/range.ui
+++ b/tests/a11y/range.ui
@@ -13,10 +13,30 @@
     <property name="can_focus">False</property>
     <property name="type">popup</property>
     <child>
-      <object class="GtkScale" id="scale1">
+      <object class="GtkGrid" id="grid1">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
-        <property name="adjustment">adjustment1</property>
+        <child>
+          <object class="GtkScale" id="scale1">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="adjustment">adjustment1</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkScrollbar" id="scrollbar1">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="adjustment">adjustment1</property>
+          </object>
+          <packing>
+            <property name="left_attach">1</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
       </object>
     </child>
   </object>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]