%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/orca/scripts/toolkits/Qt/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/orca/scripts/toolkits/Qt/__pycache__/script.cpython-312.pyc

�

g
f?���dZdZdZdZdZddlmZddlmZddl	m
cmZddlm
Z
ddlmZd	d
lmZGd�dej$�Zy)
z$Id$z
$Revision$z$Date$z$Copyright (c) 2013-2019 Igalia, S.L.�LGPL�N)�AXObject)�AXUtilities���	Utilitiesc�8��eZdZ�fd�Zd�Z�fd�Z�fd�Z�xZS)�Scriptc�$��t�|�|�y�N)�super�__init__)�self�app�	__class__s  ��A/usr/lib/python3/dist-packages/orca/scripts/toolkits/Qt/script.pyrzScript.__init__'s���
�����c��t|�Srr)rs r�getUtilitieszScript.getUtilities*s�����rc���tj|j�r(d}tjtj
|d�yt�|�|�y)z:Callback for object:text-caret-moved accessibility events.�QT: Ignoring event due to role.TN)r�is_accelerator_label�source�debug�printMessage�
LEVEL_INFOr
�onCaretMoved)r�event�msgrs   �rrzScript.onCaretMoved-sD����+�+�E�L�L�9�3�C����u�/�/��d�;��
���U�#rc���|jsytj|j�r(d}t	j
tj|d�y|jj|j�}|s(d}t	j
tj|d�ytj|�}|s�d|g}t	jtj|d�tj|dd�tj|�}d|d	|g}t	jtj|d�tj|j�rt�|�=|�yd
}t	j
tj|d�t!j"�j%||j�y)z?Callback for object:state-changed:focused accessibility events.NrTz?QT: Ignoring event because we couldn't find an ancestor window.z-QT: Event came from inactive top-level objectFz&Ensuring we have correct active state.zQT: Cleared cache ofz. Frame is now active:z?QT: WARNING - source lacks focused state. Setting focus anyway.)�detail1rrrrrr�	utilities�topLevelObject�	is_active�printTokensr�clear_cache�
is_focusedr
�onFocusedChanged�
focus_manager�
getManager�set_locus_of_focus)rrr�frame�isActive�tokensrs      �rr(zScript.onFocusedChanged7sW����}�}���+�+�E�L�L�9�3�C����u�/�/��d�;�����-�-�e�l�l�;���S�C����u�/�/��d�;���(�(��/���E�u�M�F����e�.�.���=�� � ���/W�X�"�,�,�U�3�H�,�e�5M�x�X�F����e�.�.���=��!�!�%�,�,�/��G�$�U�+��O��
���5�+�+�S�$�7�� � �"�5�5�e�U�\�\�Jr)�__name__�
__module__�__qualname__rrrr(�
__classcell__)rs@rr
r
%s�����$�!K�!Krr
)�__id__�__version__�__date__�
__copyright__�__license__�
orca.debugr�orca.focus_managerr)�orca.scripts.default�scripts�default�orca.ax_objectr�orca.ax_utilitiesr�script_utilitiesrr
�rr�<module>rAsG��,������6�
����*�&�&�#�)�'�3K�W�^�^�3Kr

Zerion Mini Shell 1.0