Add a test that has a labeled-by relation in it

This commit is contained in:
Matthias Clasen 2011-06-19 02:03:24 -04:00
parent f76c439897
commit 5c1b0b005e
2 changed files with 37 additions and 0 deletions

11
tests/a11y/mnemonic.txt Normal file
View File

@ -0,0 +1,11 @@
window1
"window"
box1
"filler"
label1
"label"
name: Entry:
label-for: entry1
entry1
"text"
labelled-by: label1

26
tests/a11y/mnemonic.ui Normal file
View File

@ -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>