Method

AtkComponentcontains

Declaration [src]

gboolean
atk_component_contains (
  AtkComponent* component,
  gint x,
  gint y,
  AtkCoordType coord_type
)

Description [src]

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.

Parameters

x gint
 

X coordinate.

y gint
 

Y coordinate.

coord_type AtkCoordType
 

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

Return value

Returns: gboolean
 

TRUE or FALSE indicating whether the specified point is within the extent of the component or not.