Commit 2941196f authored by Matthias Clasen's avatar Matthias Clasen

Add GtkStack and GtkStackSwitcher to the a11y tests

parent e11039a9
......@@ -74,6 +74,7 @@ testdata = \
menu.ui menu.txt \
combos.ui combos.txt \
listbox.ui listbox.txt \
stack.ui stack.txt \
$(NULL)
test_in_files = \
......
window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: window
alpha: 1
box1
"filler"
parent: window1
index: 0
state: enabled horizontal sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
stackswitcher1
"filler"
parent: box1
index: 0
state: enabled horizontal sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
unnamed-GtkRadioButtonAccessible-0
"radio button"
parent: stackswitcher1
index: 0
name: Page 1
member-of: unnamed-GtkRadioButtonAccessible-1
unnamed-GtkRadioButtonAccessible-0
state: armed checked enabled focusable sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
action 0 description: Clicks the button
unnamed-GtkRadioButtonAccessible-1
"radio button"
parent: stackswitcher1
index: 1
name: Page 2
member-of: unnamed-GtkRadioButtonAccessible-1
unnamed-GtkRadioButtonAccessible-0
state: enabled focusable sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
action 0 description: Clicks the button
stack1
"panel"
parent: box1
index: 1
state: enabled sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
page1
"push button"
parent: stack1
index: 0
name: Yes
state: enabled focusable sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
action 0 description: Clicks the button
page2
"push button"
parent: stack1
index: 1
name: No
state: enabled focusable sensitive visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
action 0 description: Clicks the button
<?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">
<property name="visible">True</property>
<child>
<object class="GtkStackSwitcher" id="stackswitcher1">
<property name="visible">True</property>
<property name="stack">stack1</property>
</object>
</child>
<child>
<object class="GtkStack" id="stack1">
<property name="visible">True</property>
<child>
<object class="GtkButton" id="page1">
<property name="label" translatable="yes">Yes</property>
<property name="visible">True</property>
</object>
<packing>
<property name="name">page1</property>
<property name="title">Page 1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="page2">
<property name="label" translatable="yes">No</property>
<property name="visible">True</property>
</object>
<packing>
<property name="name">page2</property>
<property name="title">Page 2</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment