%PDF- %PDF-
Direktori : /lib/python3/dist-packages/orca/__pycache__/ |
Current File : //lib/python3/dist-packages/orca/__pycache__/mouse_review.cpython-312.pyc |
� g f�\ � � � d Z dZdZdZdZdZddlZddlZddlm Z ddl Z e j d d � ddlm Z ddlmZ e j d d� ddlmZ dZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddl!m"Z" G d� d � Z# G d!� d"� Z$ G d#� d$� Z% e%� Z&d%� Z'y# e$ r dZY �zw xY w)&zMouse review mode.z$Id$z $Revision$z$Date$z@Copyright (c) 2008 Eitan IsaacsonCopyright (c) 2016 Igalia, S.L.�LGPL� N)�deque�Atspiz2.0)r )�GLib�Wnckz3.0)r TF� )�cmdnames)�debug)� focus_manager)�keybindings)�input_event)�messages)�script_manager)�settings_manager)�AXComponent)�AXObject)�AXText)�AXUtilitiesc �6 � e Zd ZdZd d�Zd� Zd� Zd� Zd� Zd� Z y) �_StringContextz8The textual information associated with an _ItemContext.Nc � � || _ || _ || _ || _ || _ t j |||� | _ y)a� Initialize the _StringContext. Arguments: - string: The human-consumable string - obj: The accessible object associated with this string - start: The start offset with respect to entire text, if one exists - end: The end offset with respect to the entire text, if one exists - script: The script associated with the accessible object N)�_obj�_script�_string�_start�_endr �get_range_rect�_rect)�self�obj�script�string�start�ends �3/usr/lib/python3/dist-packages/orca/mouse_review.py�__init__z_StringContext.__init__? s= � � �� ������������ ��*�*�3��s�;�� � c �� � |d uxrj | j |j k( xrO | j |j k( xr4 | j |j k( xr | j |j k( S �N)r r r r �r �others r% �__eq__z_StringContext.__eq__Q sg � ��D� � (�� � �U�Z�Z�'�(����� � �-�(� ���u�|�|�+�(� � � �U�Z�Z�'� (r'