summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-10-17 19:52:36 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-10-17 19:52:36 -0500
commita08fc5a843528cebe6cbd460e1e26348033efa4e (patch)
tree9b5d791bd87d95a3dc5c767d804ab26d0ab7a1de /xml
parent17d72d2da33467f1c22d9880f890435b176a42dd (diff)
downloadat-spi2-core-a08fc5a843528cebe6cbd460e1e26348033efa4e.tar.gz
Component.xml: document the ScrollToPoint method
Diffstat (limited to 'xml')
-rw-r--r--xml/Component.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/xml/Component.xml b/xml/Component.xml
index ceb89673..20c9675b 100644
--- a/xml/Component.xml
+++ b/xml/Component.xml
@@ -291,6 +291,18 @@
<arg direction="out" type="b"/>
</method>
+ <!--
+ ScrollToPoint:
+ @type: How to position the component within its parent; see the description of the
+ ScrollTo method for the possible values.
+ @x: X coordinate within the component to make visible.
+ @y: Y coordinate within the component to make visible.
+
+ Similar to the ScrollTo method, but makes a specific point from the component
+ visible in its parent.
+
+ Returns: true if successful, or false otherwise.
+ -->
<method name="ScrollToPoint">
<arg direction="in" name="type" type="u"/>
<arg direction="in" name="x" type="i"/>