| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Upload File : |
�
g
f� � �6 � d Z dZdZdZdZdZddlZ ej dd � ej d
d � ddlm Z m
Z
mZ dd
lm
Z
ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ G d� d� Z G d� dej. � Z e� Zd� Zy)z3Module for performing accessible actions via a menuz$Id$z
$Revision$z$Date$zCopyright (c) 2023 Igalia, S.L.�LGPL� N�Gdkz3.0�Gtk)r �GLibr � )�cmdnames)�debug)�
focus_manager)�input_event)�keybindings)�messages)�script_manager)�AXObjectc �F � e Zd ZdZd� Zdd�Zdd�Zd� Zd� Zd� Z d� Z
d
d
�Zy )�ActionPresenterz=Provides menu for performing accessible actions on an object.c � � | j d� | _ t j � | _ d | _ d | _ d | _ y )NT)�get_handlers� _handlersr �KeyBindings� _bindings�_gui�_obj�_window)�selfs �7/usr/lib/python3/dist-packages/orca/action_presenter.py�__init__zActionPresenter.__init__0 s9 � ��*�*�4�0���$�0�0�2����� ��� ���� c � � |rCd}t j t j |d� | j � | j S | j j � r| j � | j S )z)Returns the action-presenter keybindings.z&ACTION PRESENTER: Refreshing bindings.T)r �printMessage�
LEVEL_INFO�_setup_bindingsr �isEmpty)r �refresh�
is_desktop�msgs r �get_bindingszActionPresenter.get_bindings7 sd � � �:�C����u�/�/��d�;�� � �"� �~�~�� �^�^�
#�
#�
%�� � �"��~�~�r c � � |r7d}t j t j |d� | j � | j S )z&Returns the action-presenter handlers.z&ACTION PRESENTER: Refreshing handlers.T)r r r �_setup_handlersr )r r# r% s r r zActionPresenter.get_handlersC s: � � �:�C����u�/�/��d�;�� � �"��~�~�r c �� � i | _ t j | j t j
� | j d<