403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/pyatspi/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/pyatspi/__pycache__/component.cpython-310.pyc
o

�ֱa�"�@sddlmZddlTddlTddlTgd�ZGdd�de�Zed�Zed�Z	ed�Z
Gdd	�d	e�Zed�Zed�Z
ed�Zed
�Zed�Zed�Zed
�Zed�Zed�ZGdd�de�Zed�Zed�Zed�Zed�Zed
�Zed�Zed�ZGdd�de�ZdS)�)�Atspi)�*)�	CoordType�	XY_SCREEN�	XY_WINDOW�	XY_PARENT�ComponentLayer�	Component�LAYER_BACKGROUND�LAYER_CANVAS�
LAYER_INVALID�LAYER_LAST_DEFINED�	LAYER_MDI�
LAYER_OVERLAY�LAYER_POPUP�LAYER_WIDGET�LAYER_WINDOW�
ScrollType�SCROLL_TOP_LEFT�SCROLL_BOTTOM_RIGHT�SCROLL_TOP_EDGE�SCROLL_BOTTOM_EDGE�SCROLL_LEFT_EDGE�SCROLL_RIGHT_EDGE�SCROLL_ANYWHEREc@seZdZdddd�ZdS)rrrr)r��N��__name__�
__module__�__qualname__�_enum_lookup�r"r"�3/usr/lib/python3/dist-packages/pyatspi/component.pyr1s

�rrrc
@s$eZdZddddddddd	d
�	ZdS)rrr
rrrrrrr
)	rrr������Nrr"r"r"r#r>s
�rr)r%r'r&r$r(c@s eZdZdddddddd�Zd	S)
rrrrrrrr)rrrr$r%r&r'Nrr"r"r"r#rWs
�rc@sheZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dd�Zdd�Zdd�Z
dd�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.
        cC�tj�|j|||�S)z�
                @return True if the specified point lies within the Component's
                bounding box, False otherwise.
                )rr	�contains�obj��self�x�y�
coord_typer"r"r#r+y�zComponent.containscCr*)z
                @return the Accessible child whose bounding box contains the
                specified point.
                )rr	�get_accessible_at_pointr,r-r"r"r#�getAccessibleAtPoint�r2zComponent.getAccessibleAtPointcC�tj�|j�S)aL
                Obtain the alpha value of the component. An alpha value of 1.0
                or greater indicates that the object is fully opaque, and an
                alpha value of 0.0 indicates that the object is fully transparent.
                Negative alpha values have no defined meaning at this time.
                )rr	�	get_alphar,�r.r"r"r#�getAlpha�szComponent.getAlphacC�ttj�|j|��S)a�
                Obtain the Component's bounding box, in pixels, relative to the
                specified coordinate system. 
                The returned values are meaningful only if the Component has
                both STATE_VISIBLE and STATE_SHOWING.
                @param coord_type
                @return a BoundingBox which entirely contains the object's onscreen
                visual representation.
                )�getBoundingBoxrr	�get_extentsr,�r.r1r"r"r#�
getExtents�s
zComponent.getExtentscCr5)zZ
                @return the ComponentLayer in which this object resides.
                )rr	�	get_layerr,r7r"r"r#�getLayer�szComponent.getLayercCr5)a�
                Obtain the relative stacking order (i.e. 'Z' order) of an object.
                Larger values indicate that an object is on "top" of the stack,
                therefore objects with smaller MDIZOrder may be obscured by objects
                with a larger MDIZOrder, but not vice-versa. 
                @return an integer indicating the object's place in the stacking
                order.
                )rr	�get_mdi_z_orderr,r7r"r"r#�getMDIZOrder�s	zComponent.getMDIZOrdercCr9)aE
                Obtain the position of the current component in the coordinate
                system specified by coord_type. 
                The returned values are meaningful only if the Component has
                both STATE_VISIBLE and STATE_SHOWING.
                @param : coord_type
                @param : x
                an out parameter which will be back-filled with the returned
                x coordinate. 
                @param : y
                an out parameter which will be back-filled with the returned
                y coordinate.
                )�pointToListrr	�get_positionr,r<r"r"r#�getPosition�szComponent.getPositioncCsttj�|j��S)ah
                Obtain the size, in the coordinate system specified by coord_type,
                of the rectangular area which fully contains the object's visual
                representation, without accounting for viewport clipping. 
                The returned values are meaningful only if the Component has
                both STATE_VISIBLE and STATE_SHOWING.
                @param : width
                the object's horizontal extents in the specified coordinate system.
                @param : height
                the object's vertical extents in the specified coordinate system.
                )rBrr	�get_sizer,r7r"r"r#�getSize�szComponent.getSizecCr5)z�
                Request that the object obtain keyboard focus.
                @return True if keyboard focus was successfully transferred to
                the Component.
                )rr	�
grab_focusr,r7r"r"r#�	grabFocus�szComponent.grabFocuscCstj�|j|�S�z�
                Makes the object visible on the screen at a given position by
                scrolling all necessary parents.
                @return True if scrolling was successful.
                )rr	�	scroll_tor,)r.�scroll_typer"r"r#�scrollTo�szComponent.scrollTocCr*rI)rr	�scroll_to_pointr,)r.r1r/r0r"r"r#�
scrollToPoint�szComponent.scrollToPointN)rrr �__doc__r+r4r8r=r?rArDrFrHrLrNr"r"r"r#r	ls	r	N)�
gi.repositoryr�pyatspi.atspienum�
pyatspi.utils�pyatspi.interface�__all__�	AtspiEnumrrrrrr
rrr
rrrrrrrrrrrrr�	interfacer	r"r"r"r#�<module>s8


Youez - 2016 - github.com/yon3zu
LinuXploit