Add a scrollbar to the range testcase

This commit is contained in:
Matthias Clasen 2011-06-21 19:12:55 -04:00
parent dfb8fa9b5a
commit ac8e00010a
2 changed files with 89 additions and 44 deletions

View File

@ -6,17 +6,42 @@ window1
<AtkComponent>
layer: window
alpha: 1
scale1
"slider"
grid1
"panel"
parent: window1
index: 0
state: enabled horizontal sensitive showing visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
scrollbar1
"scroll bar"
parent: grid1
index: 0
state: enabled focusable horizontal sensitive showing visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkAction>
action 0 name: activate
<AtkValue>
minimum value: 0.500000
maximum value: 99.500000
current value: 45.500000
minimum increment: 0.500000
scale1
"slider"
parent: grid1
index: 1
state: enabled focusable horizontal sensitive showing visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: ?45.5
text: 45.5
character count: 5
caret offset: 0
default attributes: left-margin: 0

View File

@ -12,12 +12,32 @@
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<child>
<object class="GtkScale" id="scale1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment">adjustment1</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkScrollbar" id="scrollbar1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment">adjustment1</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</packing>
</child>
</object>
</child>
</object>
</interface>