ComponentT.setPosition

Sets the position of component.

Contrary to atk_component_scroll_to, this does not trigger any scrolling, this just moves component in its parent.

template ComponentT()
override
bool
setPosition

Parameters

x int

x coordinate

y int

y coordinate

coordType atk.types.CoordType

specifies whether the coordinates are relative to the screen or to the component's top level window

Return Value

Type: bool

true or false whether or not the position was set or not