gtk/tests/a11y/tree.txt
Benjamin Otte 9e9533fc88 a11y: Redo cell accessible action handling
Multiple changes:
- actions are now available unconditionally, but only work in the right
  state. This mirrors other actions.
- instead of adding actions manually, they invoke the action on the
  GtkCellAccessibleParent interface.

Tests have been updated to reflect the changes
2011-12-16 04:53:14 +01:00

416 lines
15 KiB
Plaintext

window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: window
alpha: 1
tree1
"table"
parent: window1
index: 0
state: enabled focusable sensitive showing visible manages-descendants
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkSelection>
selected children: One
Two
<AtkTable>
rows: 4
columns: 2
selected rows: 0
column 0 description: Column 1
column 0 header: unnamed-GtkButtonAccessible-0
column 1 description: Column 2
column 1 header: unnamed-GtkButtonAccessible-1
table indexes:
✓✓One ✓✓Two
✓✓Three ✓✓Four
✓✓Five ✓✓Six
✓✓Seven ✓✓Eight
unnamed-GtkButtonAccessible-0
"table column header"
parent: tree1
index: 0
name: Column 1
state: enabled sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
unnamed-GtkButtonAccessible-1
"table column header"
parent: tree1
index: 1
name: Column 2
state: enabled sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
One
"table cell"
parent: tree1
index: 2
name: One
state: enabled focusable selectable selected sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: One
character count: 3
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Two
"table cell"
parent: tree1
index: 3
name: Two
state: enabled focusable selectable selected sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Two
character count: 3
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Three
"table cell"
parent: tree1
index: 4
name: Three
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Three
character count: 5
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Four
"table cell"
parent: tree1
index: 5
name: Four
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Four
character count: 4
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Five
"table cell"
parent: tree1
index: 6
name: Five
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Five
character count: 4
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Six
"table cell"
parent: tree1
index: 7
name: Six
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Six
character count: 3
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Seven
"table cell"
parent: tree1
index: 8
name: Seven
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Seven
character count: 5
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell
Eight
"table cell"
parent: tree1
index: 9
name: Eight
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Eight
character count: 5
caret offset: 0
default attributes: bg-color: <omitted>
bg-full-height: 0
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: expand or contract
action 0 description: expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: activate the cell