[gtk+/a11y] Add a test involving links



commit 03535d1f72d8ce495bba47d70e32c4946ca9fa90
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 19 18:55:12 2011 -0400

    Add a test involving links

 tests/a11y/link.txt |   23 +++++++++++++++++++++++
 tests/a11y/link.ui  |   16 ++++++++++++++++
 2 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/tests/a11y/link.txt b/tests/a11y/link.txt
new file mode 100644
index 0000000..ec2ab02
--- /dev/null
+++ b/tests/a11y/link.txt
@@ -0,0 +1,23 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  button1
+    "push button"
+    parent: window1
+    index: 0
+    name: Hello World!
+    state: enabled focusable sensitive showing visible
+    toolkit: gail
+    text: Hello World!
+    character count: 12
+    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:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    image size: -1 x -1
+    image description: (null)
+    action 0 name: click
+    action 1 name: press
+    action 2 name: release
+    anchors: 1
+    uri 0: http://www.gtk.org
diff --git a/tests/a11y/link.ui b/tests/a11y/link.ui
new file mode 100644
index 0000000..d8cff27
--- /dev/null
+++ b/tests/a11y/link.ui
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkLinkButton" id="button1">
+        <property name="label" translatable="yes">Hello World!</property>
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="uri">http://www.gtk.org</property>
+      </object>
+    </child>
+  </object>
+</interface>



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