mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Add an infobar testcase
This commit is contained in:
parent
f2d6439bc7
commit
8aced27009
@ -40,4 +40,5 @@ EXTRA_DIST += \
|
||||
pickers.ui pickers.txt \
|
||||
lockbutton.ui lockbutton.txt \
|
||||
spinner.ui spinner.txt \
|
||||
progress.ui progress.txt
|
||||
progress.ui progress.txt \
|
||||
infobar.ui infobar.txt
|
||||
|
76
tests/a11y/infobar.txt
Normal file
76
tests/a11y/infobar.txt
Normal file
@ -0,0 +1,76 @@
|
||||
window1
|
||||
"window"
|
||||
index: 0
|
||||
state: enabled resizable sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: window
|
||||
alpha: 1
|
||||
bar1
|
||||
"filler"
|
||||
parent: window1
|
||||
index: 0
|
||||
state: enabled horizontal sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
box1
|
||||
"filler"
|
||||
parent: bar1
|
||||
index: 0
|
||||
state: enabled horizontal sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
label1
|
||||
"label"
|
||||
parent: box1
|
||||
index: 0
|
||||
name: Some important info
|
||||
state: enabled multi-line sensitive showing visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: Some important info
|
||||
character count: 19
|
||||
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>
|
||||
unnamed-GailBox-0
|
||||
"filler"
|
||||
parent: bar1
|
||||
index: 1
|
||||
state: enabled sensitive showing vertical visible
|
||||
toolkit: gail
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
24
tests/a11y/infobar.ui
Normal file
24
tests/a11y/infobar.ui
Normal file
@ -0,0 +1,24 @@
|
||||
<?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="GtkInfoBar" id="bar1">
|
||||
<property name="visible">True</property>
|
||||
<property name="message-type">info</property>
|
||||
<child internal-child="content_area">
|
||||
<object class="GtkBox" id="box1">
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Some important info</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user