diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-10-17 17:40:56 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-10-17 17:43:21 -0500 |
commit | 1c5bc5dc5beb2173e28f9b70f31b79f47a910f4c (patch) | |
tree | eea544ddc45c0fedf22bdad770e6f767619b3b83 /xml | |
parent | f3c943043e48ed63eb4322af697cd60044ab29bf (diff) | |
download | at-spi2-core-1c5bc5dc5beb2173e28f9b70f31b79f47a910f4c.tar.gz |
Component.xml: document the GetExtents method
Diffstat (limited to 'xml')
-rw-r--r-- | xml/Component.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xml/Component.xml b/xml/Component.xml index 3d7e2e47..ec4f0904 100644 --- a/xml/Component.xml +++ b/xml/Component.xml @@ -56,6 +56,22 @@ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReference"/> </method> + <!-- + GetExtents: + @coord_type: Whether the coordinates are relative to the screen or to the + component's top level window; see the description. + + Queries the pixel extents of a 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: a tuple (x, y, width, height) corresponding to the rectangle for the + component's extents. + --> <method name="GetExtents"> <arg direction="in" name="coord_type" type="u"/> <arg direction="out" type="(iiii)"/> |