Component.getPosition
void getPosition(out int x, out int y, atk.types.CoordType coordType)Gets the position of component in the form of a point specifying component's top-left corner.
If the position can not be obtained (e.g. a non-embedded plug or missing support), x and y are set to -1.
Parameters
x | address of #gint to put x coordinate position |
y | address of #gint to put y coordinate position |
coordType | specifies whether the coordinates are relative to the screen or to the components top level window |
Deprecated
Since 2.12. Use [atk.component.Component.getExtents] instead.