Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
6087131a
Commit
6087131a
authored
Jul 01, 2011
by
Matthias Clasen
Browse files
Add a placeholder-text test
Contributed by Joanmarie Diggs.
parent
ff5eb4ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/a11y/Makefile.am
View file @
6087131a
...
...
@@ -50,4 +50,5 @@ EXTRA_DIST += \
paned.ui paned.txt
\
iconview.ui iconview.txt
\
entries.ui entries.txt
\
scale-drawvalue.ui scale-drawvalue.txt
scale-drawvalue.ui scale-drawvalue.txt
\
placeholder-text.ui placeholder-text.txt
tests/a11y/placeholder-text.txt
0 → 100644
View file @
6087131a
window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gail
<AtkComponent>
layer: window
alpha: 1
box1
"panel"
parent: window1
index: 0
state: enabled sensitive showing vertical visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
entry1
"text"
parent: box1
index: 0
state: editable enabled focusable sensitive showing single-line visible
toolkit: gail
placeholder-text: Subject or Addresses contain
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text:
character count: 0
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
direction: <omitted>
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: activate
entry2
"text"
parent: box1
index: 1
state: editable enabled focusable sensitive showing single-line visible
toolkit: gail
placeholder-text: Message contains
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Some text
character count: 9
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
direction: <omitted>
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: activate
entry3
"text"
parent: box1
index: 2
state: editable enabled focusable sensitive showing single-line visible
toolkit: gail
placeholder-text: Body contains
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text:
character count: 0
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
direction: <omitted>
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: activate
tests/a11y/placeholder-text.ui
0 → 100644
View file @
6087131a
<?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=
"GtkBox"
id=
"box1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<child>
<object
class=
"GtkEntry"
id=
"entry1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"invisible_char_set"
>
True
</property>
<property
name=
"placeholder_text"
>
Subject or Addresses contain
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkEntry"
id=
"entry2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"text"
translatable=
"yes"
>
Some text
</property>
<property
name=
"invisible_char_set"
>
True
</property>
<property
name=
"placeholder_text"
>
Message contains
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkEntry"
id=
"entry3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"has_focus"
>
True
</property>
<property
name=
"is_focus"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"invisible_char_set"
>
True
</property>
<property
name=
"placeholder_text"
>
Body contains
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
</child>
</object>
</interface>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment