mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Add some keybindings to the a11y entries test
This commit is contained in:
parent
1c222372d9
commit
a6cb6c6d39
@ -15,10 +15,91 @@ window1
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
label1
|
||||
"label"
|
||||
parent: box1
|
||||
index: 0
|
||||
name: entry:
|
||||
label-for: entry1
|
||||
state: enabled multi-line sensitive visible
|
||||
toolkit: gtk
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: entry:
|
||||
character count: 6
|
||||
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
|
||||
label2
|
||||
"label"
|
||||
parent: box1
|
||||
index: 1
|
||||
name: spinbutton:
|
||||
label-for: spinbutton1
|
||||
state: enabled multi-line sensitive visible
|
||||
toolkit: gtk
|
||||
<AtkComponent>
|
||||
layer: widget
|
||||
alpha: 1
|
||||
<AtkText>
|
||||
text: spinbutton:
|
||||
character count: 11
|
||||
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
|
||||
entry1
|
||||
"text"
|
||||
parent: box1
|
||||
index: 0
|
||||
index: 2
|
||||
labelled-by: label1
|
||||
state: editable enabled focusable sensitive single-line visible
|
||||
toolkit: gtk
|
||||
<AtkComponent>
|
||||
@ -55,10 +136,12 @@ window1
|
||||
wrap-mode: word
|
||||
<AtkAction>
|
||||
action 0 name: activate
|
||||
action 0 keybinding: <Alt>e
|
||||
spinbutton1
|
||||
"spin button"
|
||||
parent: box1
|
||||
index: 1
|
||||
index: 3
|
||||
labelled-by: label2
|
||||
state: editable enabled focusable sensitive single-line visible
|
||||
toolkit: gtk
|
||||
<AtkComponent>
|
||||
@ -95,6 +178,7 @@ window1
|
||||
wrap-mode: word
|
||||
<AtkAction>
|
||||
action 0 name: activate
|
||||
action 0 keybinding: <Alt>s
|
||||
<AtkValue>
|
||||
minimum value: 0.500000
|
||||
maximum value: 99.500000
|
||||
|
@ -14,6 +14,22 @@
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box1">
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="label">_entry:</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="mnemonic-widget">entry1</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label2">
|
||||
<property name="label">_spinbutton:</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="mnemonic-widget">spinbutton1</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkEntry" id="entry1">
|
||||
<property name="text" translatable="yes">text</property>
|
||||
|
Loading…
Reference in New Issue
Block a user