spinbutton testcase
This commit is contained in:
parent
2610a43e1c
commit
743cb1fc96
@ -64,4 +64,5 @@ EXTRA_DIST += \
|
|||||||
calendar.ui calendar.txt \
|
calendar.ui calendar.txt \
|
||||||
statusbar.ui statusbar.txt \
|
statusbar.ui statusbar.txt \
|
||||||
paned.ui paned.txt \
|
paned.ui paned.txt \
|
||||||
iconview.ui iconview.txt
|
iconview.ui iconview.txt \
|
||||||
|
entries.ui entries.txt
|
||||||
|
106
tests/a11y/entries.txt
Normal file
106
tests/a11y/entries.txt
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
window1
|
||||||
|
"window"
|
||||||
|
index: 0
|
||||||
|
state: enabled resizable sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: window
|
||||||
|
alpha: 1
|
||||||
|
box1
|
||||||
|
"filler"
|
||||||
|
parent: window1
|
||||||
|
index: 0
|
||||||
|
state: enabled horizontal sensitive
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
entry1
|
||||||
|
"text"
|
||||||
|
parent: box1
|
||||||
|
index: 0
|
||||||
|
state: editable enabled focusable sensitive single-line visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text: text
|
||||||
|
character count: 4
|
||||||
|
caret offset: 0
|
||||||
|
default attributes: left-margin: 0
|
||||||
|
right-margin: 0
|
||||||
|
indent: 0
|
||||||
|
invisible: false
|
||||||
|
editable: false
|
||||||
|
pixels-above-lines: 0
|
||||||
|
pixels-below-lines: 0
|
||||||
|
pixels-inside-wrap: 0
|
||||||
|
bg-full-height: 0
|
||||||
|
scale: 1
|
||||||
|
rise: 0
|
||||||
|
underline: none
|
||||||
|
strikethrough: false
|
||||||
|
bg-stipple: false
|
||||||
|
fg-stipple: false
|
||||||
|
fg-color: <omitted>
|
||||||
|
bg-color: <omitted>
|
||||||
|
wrap-mode: word
|
||||||
|
justification: left
|
||||||
|
size: <omitted>
|
||||||
|
weight: <omitted>
|
||||||
|
family-name: <omitted>
|
||||||
|
stretch: <omitted>
|
||||||
|
variant: <omitted>
|
||||||
|
style: <omitted>
|
||||||
|
language: <omitted>
|
||||||
|
direction: <omitted>
|
||||||
|
<AtkAction>
|
||||||
|
action 0 name: activate
|
||||||
|
spinbutton1
|
||||||
|
"spin button"
|
||||||
|
parent: box1
|
||||||
|
index: 1
|
||||||
|
state: editable enabled focusable sensitive single-line visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text:
|
||||||
|
character count: 0
|
||||||
|
caret offset: 0
|
||||||
|
default attributes: left-margin: 0
|
||||||
|
right-margin: 0
|
||||||
|
indent: 0
|
||||||
|
invisible: false
|
||||||
|
editable: false
|
||||||
|
pixels-above-lines: 0
|
||||||
|
pixels-below-lines: 0
|
||||||
|
pixels-inside-wrap: 0
|
||||||
|
bg-full-height: 0
|
||||||
|
scale: 1
|
||||||
|
rise: 0
|
||||||
|
underline: none
|
||||||
|
strikethrough: false
|
||||||
|
bg-stipple: false
|
||||||
|
fg-stipple: false
|
||||||
|
fg-color: <omitted>
|
||||||
|
bg-color: <omitted>
|
||||||
|
wrap-mode: word
|
||||||
|
justification: left
|
||||||
|
size: <omitted>
|
||||||
|
weight: <omitted>
|
||||||
|
family-name: <omitted>
|
||||||
|
stretch: <omitted>
|
||||||
|
variant: <omitted>
|
||||||
|
style: <omitted>
|
||||||
|
language: <omitted>
|
||||||
|
direction: <omitted>
|
||||||
|
<AtkAction>
|
||||||
|
action 0 name: activate
|
||||||
|
<AtkValue>
|
||||||
|
minimum value: 0.500000
|
||||||
|
maximum value: 99.500000
|
||||||
|
current value: 45.500000
|
||||||
|
minimum increment: 0.500000
|
32
tests/a11y/entries.ui
Normal file
32
tests/a11y/entries.ui
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
|
<object class="GtkAdjustment" id="adjustment1">
|
||||||
|
<property name="lower">0.5</property>
|
||||||
|
<property name="upper">99.5</property>
|
||||||
|
<property name="page-size">0</property>
|
||||||
|
<property name="value">45.5</property>
|
||||||
|
<property name="step-increment">0.5</property>
|
||||||
|
<property name="page-increment">5.0</property>
|
||||||
|
</object>
|
||||||
|
<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="GtkEntry" id="entry1">
|
||||||
|
<property name="text" translatable="yes">text</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSpinButton" id="spinbutton1">
|
||||||
|
<property name="adjustment">adjustment1</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
Loading…
Reference in New Issue
Block a user