forked from AuroraMiddleware/gtk
Add a test involving ranges
This commit is contained in:
parent
2672a3afef
commit
0740876d0e
@ -25,4 +25,5 @@ EXTRA_DIST += \
|
|||||||
hello-world.ui hello-world.txt \
|
hello-world.ui hello-world.txt \
|
||||||
mnemonic.ui mnemonic.txt \
|
mnemonic.ui mnemonic.txt \
|
||||||
accessible-name.ui accessible-name.txt \
|
accessible-name.ui accessible-name.txt \
|
||||||
notebook.ui notebook.txt
|
notebook.ui notebook.txt \
|
||||||
|
range.ui range.txt
|
||||||
|
20
tests/a11y/range.txt
Normal file
20
tests/a11y/range.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
window1
|
||||||
|
"window"
|
||||||
|
index: 0
|
||||||
|
state: enabled resizable sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
scale1
|
||||||
|
"slider"
|
||||||
|
parent: window1
|
||||||
|
index: 0
|
||||||
|
state: enabled focusable horizontal sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
text: ?45.5
|
||||||
|
character count: 5
|
||||||
|
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:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
|
||||||
|
action 0 name: activate
|
||||||
|
minimum value: 0.5
|
||||||
|
maximum value: 99.5
|
||||||
|
current value: 45.5
|
||||||
|
minimum increment: 0.5
|
23
tests/a11y/range.ui
Normal file
23
tests/a11y/range.ui
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?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="GtkScale" id="scale1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="adjustment">adjustment1</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
Loading…
Reference in New Issue
Block a user