[gtk+/a11y] Add a test that sets ::accessible-name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] Add a test that sets ::accessible-name
- Date: Sun, 19 Jun 2011 06:11:36 +0000 (UTC)
commit d3f09ab74cf218aecaf77edbca557e0af04f7ab2
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 19 02:10:27 2011 -0400
Add a test that sets ::accessible-name
tests/a11y/accessible-name.txt | 5 +++++
tests/a11y/accessible-name.ui | 21 +++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/tests/a11y/accessible-name.txt b/tests/a11y/accessible-name.txt
new file mode 100644
index 0000000..f924c61
--- /dev/null
+++ b/tests/a11y/accessible-name.txt
@@ -0,0 +1,5 @@
+window1
+ "window"
+ button1
+ "push button"
+ name: Accessible name
diff --git a/tests/a11y/accessible-name.ui b/tests/a11y/accessible-name.ui
new file mode 100644
index 0000000..8fc76d0
--- /dev/null
+++ b/tests/a11y/accessible-name.ui
@@ -0,0 +1,21 @@
+<?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="GtkButton" id="button1">
+ <property name="label" translatable="yes">Hello World!</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="button1-accessible">
+ <property name="accessible-name" translatable="yes">Accessible name</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]