summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-10-17 18:52:00 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-10-17 18:52:00 -0500
commit3aba441fdc98c7e939a566f795dc4486325f91b0 (patch)
treecd382f77b86308f01a80d995c93ae2b97c320059 /xml
parent2d3eef4676335082cf6fd669da0673ab952b6272 (diff)
downloadat-spi2-core-3aba441fdc98c7e939a566f795dc4486325f91b0.tar.gz
Component.xml: document the SetExtents method
Also fix the docs for atspi_component_set_extents() - the "horizontal" and "vertical" were switched around in the argument descriptions.
Diffstat (limited to 'xml')
-rw-r--r--xml/Component.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/xml/Component.xml b/xml/Component.xml
index bf3c2cd6..240ba46c 100644
--- a/xml/Component.xml
+++ b/xml/Component.xml
@@ -187,6 +187,25 @@
<arg direction="out" type="d"/>
</method>
+ <!--
+ SetExtents:
+ @x: the new horizontal position to which the component should be moved.
+ @y: the new vertical position to which the component should be moved.
+ @width: the width to which the component should be resized.
+ @height: the height to which the component should be resized.
+ @coord_type: Whether the coordinates are relative to the screen or to the
+ component's top level window; see the description.
+
+ Moves and resizes the component.
+
+ The @coord_type values are as follows, and correspond to AtkCoordType:
+
+ 0 - Coordinates are relative to the screen.
+ 1 - Coordinates are relative to the component's toplevel window.
+ 2 - Coordinates are relative to the component's immediate parent.
+
+ Returns: true if successful, or false otherwise.
+ -->
<method name="SetExtents">
<arg direction="in" name="x" type="i"/>
<arg direction="in" name="y" type="i"/>