[gtk/wip/matthiasc/focus2: 41/50] Add a nested boxes focus test



commit 25fc661d24a4f0d09a88a376c9bd5fa133fb99bf
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 4 22:27:30 2019 -0500

    Add a nested boxes focus test

 testsuite/gtk/focus-chain/boxes.txt |  9 ++++++
 testsuite/gtk/focus-chain/boxes.ui  | 60 +++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
---
diff --git a/testsuite/gtk/focus-chain/boxes.txt b/testsuite/gtk/focus-chain/boxes.txt
new file mode 100644
index 0000000000..623adf43f7
--- /dev/null
+++ b/testsuite/gtk/focus-chain/boxes.txt
@@ -0,0 +1,9 @@
+button1
+button2
+button3
+button4
+button5
+button6
+button7
+button8
+button9
diff --git a/testsuite/gtk/focus-chain/boxes.ui b/testsuite/gtk/focus-chain/boxes.ui
new file mode 100644
index 0000000000..1bed0042a7
--- /dev/null
+++ b/testsuite/gtk/focus-chain/boxes.ui
@@ -0,0 +1,60 @@
+<interface>
+  <object class="GtkWindow" id="window1">
+    <child>
+      <object class="GtkBox" id="box">
+        <property name="orientation">horizontal</property>
+        <child>
+          <object class="GtkBox" id="box1">
+            <property name="orientation">vertical</property>
+            <child>
+              <object class="GtkButton" id="button1">
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="button2">
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="button3">
+              </object>
+            </child>
+          </object>
+        </child>
+        <child>
+          <object class="GtkBox" id="box2">
+            <property name="orientation">vertical</property>
+            <child>
+              <object class="GtkButton" id="button4">
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="button5">
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="button6">
+              </object>
+            </child>
+          </object>
+        </child>
+        <child>
+          <object class="GtkBox" id="box3">
+            <property name="orientation">vertical</property>
+            <child>
+              <object class="GtkButton" id="button7">
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="button8">
+              </object>
+            </child>
+            <child>
+              <object class="GtkButton" id="button9">
+              </object>
+            </child>
+          </object>
+        </child>
+      </object>
+    </child>
+  </object>
+</interface>


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