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

Parameters

x int

x coordinate

y int

y coordinate

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 indicating whether the specified point is within the extent of the @component or not

Meta