Mini Shell
3
���X� � @ s� d dl mZ d dlT d dlT d dlT ddddddd d
ddd
dddgZG dd� de�Zed �Zed�Z G dd� de�Z
e
d�Ze
d�Ze
d �Z
e
d�Ze
d�Ze
d�Ze
d�Ze
d�Ze
d�ZG dd� de�ZdS )� )�Atspi)�*� CoordType� XY_SCREEN� XY_WINDOW�ComponentLayer� Component�LAYER_BACKGROUND�LAYER_CANVAS�
LAYER_INVALID�LAYER_LAST_DEFINED� LAYER_MDI�
LAYER_OVERLAY�LAYER_POPUP�LAYER_WIDGET�LAYER_WINDOWc @ s e Zd Zddd�ZdS )r r r )r � N)�__name__�
__module__�__qualname__�_enum_lookup� r r �/usr/lib/python3.6/component.pyr ( s r c
@ s$ e Zd Zddddddddd d
� ZdS )r r r r
r r
r r r r ) r r � � � � � � � N)r r r r r r r r r 3 s r r r r r r r c @ sX e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� ZdS )r as
The Component interface is implemented by objects which occupy
on-screen space, e.g. objects which have onscreen visual representations.
The methods in Component allow clients to identify where the
objects lie in the onscreen coordinate system, their relative
size, stacking order, and position. It also provides a mechanism
whereby keyboard focus may be transferred to specific user interface
elements programmatically. This is a 2D API, coordinates of 3D
objects are projected into the 2-dimensional screen view for
purposes of this interface.
c C s t jj| j|||�S )z�
@return True if the specified point lies within the Component's
bounding box, False otherwise.
)r r �contains�obj)�self�x�y�
coord_typer r r r Y s zComponent.containsc C s t jj| j|||�S )z
@return the Accessible child whose bounding box contains the
specified point.
)r r Zget_accessible_at_pointr! )r"