ComponentIF.getPosition

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.

More...
interface ComponentIF
void
getPosition
(
out int x
,
out int y
,)

Parameters

x int

address of #gint to put x coordinate position

y int

address of #gint to put y coordinate position

coordType AtkCoordType

specifies whether the coordinates are relative to the screen or to the components top level window

Detailed Description

Deprecated: Since 2.12. Use atk_component_get_extents() instead.

Meta