mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Add a lockbutton testcase
This commit is contained in:
parent
3cc413e84f
commit
96d5ea96fd
@ -37,4 +37,5 @@ EXTRA_DIST += \
|
||||
messagedialog.ui messagedialog.txt \
|
||||
expander.ui expander.txt \
|
||||
assistant.ui assistant.txt \
|
||||
pickers.ui pickers.txt
|
||||
pickers.ui pickers.txt \
|
||||
lockbutton.ui lockbutton.txt
|
||||
|
112
tests/a11y/lockbutton.txt
Normal file
112
tests/a11y/lockbutton.txt
Normal file
@ -0,0 +1,112 @@
|
||||
window1
|
||||
"window"
|
||||
index: 0
|
||||
state: enabled resizable sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: window
|
||||
alpha: 1
|
||||
button1
|
||||
"push button"
|
||||
parent: window1
|
||||
index: 0
|
||||
description: Dialog is unlocked.
|
||||
Click to prevent further changes
|
||||
state: enabled focusable sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: (null)
|
||||
character count: 0
|
||||
caret offset: 0
|
||||
<AtkImage>
|
||||
image size: 16 x 16
|
||||
image description: (null)
|
||||
<AtkAction>
|
||||
action 0 name: click
|
||||
action 1 name: press
|
||||
action 2 name: release
|
||||
Lock
|
||||
"label"
|
||||
parent: button1
|
||||
index: 0
|
||||
name: Lock
|
||||
state: enabled multi-line sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: Lock
|
||||
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>
|
||||
Unlock
|
||||
"label"
|
||||
parent: button1
|
||||
index: 1
|
||||
name: Unlock
|
||||
state: enabled multi-line sensitive
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: Unlock
|
||||
character count: 6
|
||||
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>
|
13
tests/a11y/lockbutton.ui
Normal file
13
tests/a11y/lockbutton.ui
Normal file
@ -0,0 +1,13 @@
|
||||
<?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="GtkLockButton" id="button1">
|
||||
<property name="visible">True</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user