%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/orca/__pycache__/input_event.cpython-312.pyc |
� g f_� � �r � d Z dZdZdZdZdZddlZ ej dd � dd lm Z ddl Z ddlZddlmZ ddlm Z d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ dZdZdZ G d� d� Zd� Z G d� de� Z G d � d!e� Z! G d"� d#e� Z" G d$� d%� Z#y)&z+Provides support for handling input events.z$Id$z $Revision$z$Date$zQCopyright (c) 2005-2008 Sun Microsystems Inc.Copyright (c) 2011-2016 Igalia, S.L.�LGPL� N�Atspiz2.0)r )�Gdk)�GLib� )�debug)� focus_manager)�keybindings)�keynames)�messages)� orca_state)�script_manager)�settings)�AXObject)�AXUtilities�keyboard�braillezmouse:buttonc �$ � e Zd Zd� Zd� Zd� Zd� Zy)� InputEventc �R � || _ t j � | _ d| _ y)zCCreates a new KEYBOARD_EVENT, BRAILLE_EVENT, or MOUSE_BUTTON_EVENT.r N)�type�time�_clickCount)�self� eventTypes �2/usr/lib/python3/dist-packages/orca/input_event.py�__init__zInputEvent.__init__8 s � � �� ��I�I�K�� ���� c � � | j S )z9Return the count of the number of clicks a user has made.)r �r s r � getClickCountzInputEvent.getClickCount? s � � ���r c � � y)�:Updates the count of the number of clicks a user has made.N� r s r � setClickCountzInputEvent.setClickCountD s � � r c � � | j � S )�:Returns a single-line string representation of this event.)r r s r �asSingleLineStringzInputEvent.asSingleLineStringI s � � �)�)��r N)�__name__� __module__�__qualname__r r! r% r( r$ r r r r 6 s � �� � � r r c �� � ddl m} | ddg� }|j dd�� j d� D ]&