%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/orca/__pycache__/object_navigator.cpython-312.pyc |
� g fy/ � � � d Z dZdZdZdZdZddlmZ ddlmZ dd lm Z dd lm Z ddlmZ ddlmZ dd l mZ ddlmZ ddlmZ G d� d� Z e� Zd� Zy)�4Provides ability to navigate objects hierarchically.z$Id$z $Revision$z$Date$z Copyright (c) 2023 The Orca Team�LGPL� )�cmdnames)�debug)� focus_manager)�input_event)�keybindings)�messages)�AXEventSynthesizer)�AXObject)�AXUtilitiesc � � e Zd ZdZd� Zdd�Zdd�Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zy)�ObjectNavigatorr c � � d | _ d | _ d | _ d| _ | j d� | _ t j � | _ y )NT) �_navigator_focus�_last_navigator_focus�_last_locus_of_focus� _simplify�get_handlers� _handlersr �KeyBindings� _bindings)�selfs �7/usr/lib/python3/dist-packages/orca/object_navigator.py�__init__zObjectNavigator.__init__+ sC � � $���%)��"�$(��!�����*�*�4�0���$�0�0�2��� c � � |rCd}t j t j |d� | j � | j S | j j � r| j � | j S )z)Returns the object-navigator keybindings.z&OBJECT NAVIGATOR: Refreshing bindings.T)r �printMessage� LEVEL_INFO�_setup_bindingsr �isEmpty)r �refresh� is_desktop�msgs r �get_bindingszObjectNavigator.get_bindings3 sd � � �:�C����u�/�/��d�;�� � �"� �~�~�� �^�^� #� #� %�� � �"��~�~�r c � � |r7d}t j t j |d� | j � | j S )z&Returns the object-navigator handlers.z&OBJECT NAVIGATOR: Refreshing handlers.T)r r r �_setup_handlersr )r r"