mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
iconview testcase
This commit is contained in:
parent
55d8a684c7
commit
2610a43e1c
@ -63,4 +63,5 @@ EXTRA_DIST += \
|
||||
infobar.ui infobar.txt \
|
||||
calendar.ui calendar.txt \
|
||||
statusbar.ui statusbar.txt \
|
||||
paned.ui paned.txt
|
||||
paned.ui paned.txt \
|
||||
iconview.ui iconview.txt
|
||||
|
91
tests/a11y/iconview.txt
Normal file
91
tests/a11y/iconview.txt
Normal file
@ -0,0 +1,91 @@
|
||||
window1
|
||||
"window"
|
||||
index: 0
|
||||
state: enabled resizable sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: window
|
||||
alpha: 1
|
||||
iv1
|
||||
"layered pane"
|
||||
parent: window1
|
||||
index: 0
|
||||
state: enabled focusable sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkSelection>
|
||||
selection count: 0
|
||||
One
|
||||
"icon"
|
||||
parent: iv1
|
||||
index: 0
|
||||
state: enabled focusable selectable sensitive showing visible
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: One
|
||||
character count: 3
|
||||
caret offset: 0
|
||||
<AtkImage>
|
||||
image size: 0 x 0
|
||||
image description: (null)
|
||||
<AtkAction>
|
||||
action 0 name: activate
|
||||
action 0 description: Activate item
|
||||
Three
|
||||
"icon"
|
||||
parent: iv1
|
||||
index: 1
|
||||
state: enabled focusable selectable sensitive showing visible
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: Three
|
||||
character count: 5
|
||||
caret offset: 0
|
||||
<AtkImage>
|
||||
image size: 0 x 0
|
||||
image description: (null)
|
||||
<AtkAction>
|
||||
action 0 name: activate
|
||||
action 0 description: Activate item
|
||||
Five
|
||||
"icon"
|
||||
parent: iv1
|
||||
index: 2
|
||||
state: enabled focusable selectable sensitive showing visible
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: Five
|
||||
character count: 4
|
||||
caret offset: 0
|
||||
<AtkImage>
|
||||
image size: 0 x 0
|
||||
image description: (null)
|
||||
<AtkAction>
|
||||
action 0 name: activate
|
||||
action 0 description: Activate item
|
||||
Seven
|
||||
"icon"
|
||||
parent: iv1
|
||||
index: 3
|
||||
state: enabled focusable selectable sensitive showing visible
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: Seven
|
||||
character count: 5
|
||||
caret offset: 0
|
||||
<AtkImage>
|
||||
image size: 0 x 0
|
||||
image description: (null)
|
||||
<AtkAction>
|
||||
action 0 name: activate
|
||||
action 0 description: Activate item
|
33
tests/a11y/iconview.ui
Normal file
33
tests/a11y/iconview.ui
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<object class="GtkListStore" id="liststore1">
|
||||
<columns>
|
||||
<column type="gchararray"/>
|
||||
<column type="gchararray"/>
|
||||
</columns>
|
||||
<data>
|
||||
<row><col id="0">One</col><col id="1">Two</col></row>
|
||||
<row><col id="0">Three</col><col id="1">Four</col></row>
|
||||
<row><col id="0">Five</col><col id="1">Six</col></row>
|
||||
<row><col id="0">Seven</col><col id="1">Eight</col></row>
|
||||
</data>
|
||||
</object>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkIconView" id="iv1">
|
||||
<property name="visible">True</property>
|
||||
<property name="model">liststore1</property>
|
||||
<child>
|
||||
<object class="GtkCellRendererText" id="renderer1">
|
||||
</object>
|
||||
<attributes>
|
||||
<attribute name="text">0</attribute>
|
||||
</attributes>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user