[gtk+/a11y] Add a test that has a labeled-by relation in it
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] Add a test that has a labeled-by relation in it
- Date: Sun, 19 Jun 2011 06:04:04 +0000 (UTC)
commit d299e589513507b691f5572c55abec01d8e81f25
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 19 02:03:24 2011 -0400
Add a test that has a labeled-by relation in it
tests/a11y/mnemonic.txt | 11 +++++++++++
tests/a11y/mnemonic.ui | 26 ++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/tests/a11y/mnemonic.txt b/tests/a11y/mnemonic.txt
new file mode 100644
index 0000000..d7403c1
--- /dev/null
+++ b/tests/a11y/mnemonic.txt
@@ -0,0 +1,11 @@
+window1
+ "window"
+ box1
+ "filler"
+ label1
+ "label"
+ name: Entry:
+ label-for: entry1
+ entry1
+ "text"
+ labelled-by: label1
diff --git a/tests/a11y/mnemonic.ui b/tests/a11y/mnemonic.ui
new file mode 100644
index 0000000..443f2cd
--- /dev/null
+++ b/tests/a11y/mnemonic.ui
@@ -0,0 +1,26 @@
+<?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="GtkBox" id="box1">
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="label" translatable="yes">_Entry:</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry1</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry1">
+ <property name="text" translatable="yes">text</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]