Add a test that sets ::accessible-name

This commit is contained in:
Matthias Clasen 2011-06-19 02:10:27 -04:00
parent 5c1b0b005e
commit 3f01b42652
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,5 @@
window1
"window"
button1
"push button"
name: Accessible name

View File

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