summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-10-17 19:33:40 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-10-17 19:33:40 -0500
commit17d72d2da33467f1c22d9880f890435b176a42dd (patch)
treeeaced066816fc62c1e6e2e57ecd08e20b63c9dd3 /xml
parentf8bb87e7876e2265e57d51299913418a0d19fdc0 (diff)
downloadat-spi2-core-17d72d2da33467f1c22d9880f890435b176a42dd.tar.gz
Component.xml: document the ScrollTo method
Diffstat (limited to 'xml')
-rw-r--r--xml/Component.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/xml/Component.xml b/xml/Component.xml
index 364ff893..ceb89673 100644
--- a/xml/Component.xml
+++ b/xml/Component.xml
@@ -254,6 +254,38 @@
<arg direction="out" type="b"/>
</method>
+ <!--
+ ScrollTo:
+ @type: How to position the component within its parent; see the description.
+
+ Makes the component visible on the screen by scrolling all necessary parents.
+
+ The @type corresponds to AtkScrollType:
+
+ 0 - TOP_LEFT: Scroll the object vertically and horizontally to bring
+ its top left corner to the top left corner of the window.
+
+ 1 - BOTTOM_RIGHT: Scroll the object vertically and horizontally to
+ bring its bottom right corner to the bottom right corner of the window.
+
+ 2 - TOP_EDGE: Scroll the object vertically to bring its top edge to
+ the top edge of the window.
+
+ 3 - BOTTOM_EDGE: Scroll the object vertically to bring its bottom
+ edge to the bottom edge of the window.
+
+ 4 - LEFT_EDGE: Scroll the object vertically and horizontally to bring
+ its left edge to the left edge of the window.
+
+ 5 - RIGHT_EDGE: Scroll the object vertically and horizontally to
+ bring its right edge to the right edge of the window.
+
+ 6 - ANYWHERE: Scroll the object vertically and horizontally so that
+ as much as possible of the object becomes visible. The exact placement is
+ determined by the application.
+
+ Returns: true if successful, or false otherwise.
+ -->
<method name="ScrollTo">
<arg direction="in" name="type" type="u"/>
<arg direction="out" type="b"/>