ComponentT.setExtents

Sets the extents of component.

template ComponentT(TStruct)
bool
setExtents
(
int x
,
int y
,
int width
,
int height
,)

Parameters

x int

x coordinate

y int

y coordinate

width int

width to set for component

height int

height to set for component

coordType AtkCoordType

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

Return Value

Type: bool

TRUE or FALSE whether the extents were set or not