ComponentT.contains

Checks whether the specified point is within the extent of the component.

Toolkit implementor note: ATK provides a default implementation for this virtual method. In general there are little reason to re-implement it.

template ComponentT()
override
bool
contains

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 components top level window

Return Value

Type: bool

true or false indicating whether the specified point is within the extent of the component or not