%PDF- %PDF-
Direktori : /lib/python3/dist-packages/orca/__pycache__/ |
Current File : //lib/python3/dist-packages/orca/__pycache__/script.cpython-312.pyc |
� g f�@ � �\ � d Z dZdZdZdZdZddlmZ ddlmZ dd lm Z dd lm Z ddlmZ ddlmZ dd lm Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z G d � d!� Z!y")#a$ Each script maintains a set of key bindings, braille bindings, and AT-SPI event listeners. The key bindings are an instance of KeyBindings. The braille bindings are also a dictionary where the keys are BrlTTY command integers and the values are instances of InputEventHandler. The listeners field is a dictionary where the keys are AT-SPI event names and the values are function pointers. Instances of scripts are intended to be created solely by the script manager. This Script class is not intended to be instantiated directly. Instead, it is expected that subclasses of the Script class will be created in their own module. The module defining the Script subclass is also required to have a 'getScript(app)' method that returns an instance of the Script subclass. See default.py for an example.z$Id$z $Revision$z$Date$z-Copyright (c) 2005-2009 Sun Microsystems Inc.�LGPL� )�ax_event_synthesizer)�action_presenter)�braille_generator)�debug)� event_manager)�flat_review_presenter)� formatting)�keybindings)�label_inference)�learn_mode_presenter)�mouse_review)�notification_presenter)�object_navigator)�script_utilities)�settings_manager)�sleep_mode_manager)�sound_generator)�speech_and_verbosity_manager)�speech_generator)�structural_navigation)�system_information_presenter)�table_navigator)� bookmarks)�where_am_i_presenter)�AXObjectc �( � e Zd ZdZd� Zd� Zd� Zd� Zd1d�Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d � Z"d!� Z#d"� Z$d#� Z%d$� Z&d%� Z'd&� Z(d'� Z)d2d)�Z*d*� Z+d+� Z,d,� Z-d-� Z.d.� Z/d/� Z0d0� Z1y()3�Scriptz:The specific focus tracking scripts for applications. c � � || _ |r)t j | j � xs d| _ nd| _ | xj d| j z dz z c_ | j � | _ d| _ | j � | _ | j � | _ | j � | _ | j � | _ | j! � | _ | j% � | _ | j) � | _ | j- � | _ | j1 � | _ | j5 � | _ | j9 � | _ | j= � | _ | jA � | _! | jE � | _# | jI � | _% | jM � | _'