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(TStruct)
bool
setPosition

Parameters

x int

x coordinate

y int

y coordinate

coordType AtkCoordType

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