mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 21:20:09 +00:00
Add a GtkProgressBar testcase
This commit is contained in:
parent
5d84495b77
commit
f2d6439bc7
@ -39,4 +39,5 @@ EXTRA_DIST += \
|
||||
assistant.ui assistant.txt \
|
||||
pickers.ui pickers.txt \
|
||||
lockbutton.ui lockbutton.txt \
|
||||
spinner.ui spinner.txt
|
||||
spinner.ui spinner.txt \
|
||||
progress.ui progress.txt
|
||||
|
22
tests/a11y/progress.txt
Normal file
22
tests/a11y/progress.txt
Normal file
@ -0,0 +1,22 @@
|
||||
window1
|
||||
"window"
|
||||
index: 0
|
||||
state: enabled resizable sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: window
|
||||
alpha: 1
|
||||
progress1
|
||||
"progress bar"
|
||||
parent: window1
|
||||
index: 0
|
||||
state: enabled horizontal sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkValue>
|
||||
minimum value: 0.000000
|
||||
maximum value: 1.000000
|
||||
current value: 0.500000
|
||||
minimum increment: 0.000000
|
16
tests/a11y/progress.ui
Normal file
16
tests/a11y/progress.ui
Normal file
@ -0,0 +1,16 @@
|
||||
<?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="GtkProgressBar" id="progress1">
|
||||
<property name="visible">True</property>
|
||||
<property name="fraction">0.5</property>
|
||||
<property name="text">Good progress!</property>
|
||||
<property name="show-text">True</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user