forked from AuroraMiddleware/gtk
Add a test involving a text view
This commit is contained in:
parent
901395db67
commit
04d6c99a71
@ -26,4 +26,6 @@ EXTRA_DIST += \
|
||||
mnemonic.ui mnemonic.txt \
|
||||
accessible-name.ui accessible-name.txt \
|
||||
notebook.ui notebook.txt \
|
||||
range.ui range.txt
|
||||
range.ui range.txt \
|
||||
link.ui link.txt \
|
||||
text.ui text.txt
|
||||
|
17
tests/a11y/text.txt
Normal file
17
tests/a11y/text.txt
Normal file
@ -0,0 +1,17 @@
|
||||
window1
|
||||
"window"
|
||||
index: 0
|
||||
state: enabled resizable sensitive showing visible
|
||||
toolkit: gail
|
||||
text1
|
||||
"text"
|
||||
parent: window1
|
||||
index: 0
|
||||
state: editable enabled focusable multi-line sensitive showing visible
|
||||
toolkit: gail
|
||||
text: Twas brillig, and the slithy toves
|
||||
Did gyre and gimple in the wabe
|
||||
character count: 66
|
||||
caret offset: 66
|
||||
default attributes: right-margin:0 left-margin:0 indent:0 pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 rise:0 language:<omitted> scale:1 fg-color:0,0,0 bg-color:65535,65535,65535 invalid:none invalid:false invalid:false invalid:false left-margin:true invalid:none left-margin:ltr invalid:left size:<omitted> weight:<omitted> family-name:<omitted> invisible:normal invalid:normal invalid:normal
|
||||
mime types: application/x-gtk-text-buffer-rich-text text/plain
|
19
tests/a11y/text.ui
Normal file
19
tests/a11y/text.ui
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<object class="GtkTextBuffer" id="buffer1">
|
||||
<property name="text">Twas brillig, and the slithy toves
|
||||
Did gyre and gimple in the wabe</property>
|
||||
</object>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkTextView" id="text1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="buffer">buffer1</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user