| 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 : /lib/python3/dist-packages/orca/scripts/apps/xfwm4/__pycache__/ |
Upload File : |
�
g
f� � �p � d Z dZdZdZdZdZddlmc mZ ddl m
Z
dd lmZ G d
� dej � Z
y)zCustom script for xfwm4.z$Id$z
$Revision$z$Date$z!Copyright (c) 2011 The Orca Team.�LGPL� N)�AXObject)�AXUtilitiesc � � e Zd Zd� Zd� Zd� Zy)�Scriptc �D � t j j | |� y)z�Creates a new script for the given application.
Arguments:
- app: the application to create a script for.
N)�defaultr �__init__)�self�apps �@/usr/lib/python3/dist-packages/orca/scripts/apps/xfwm4/script.pyr
zScript.__init__( s � � ������c�*� c �� � t j |j � s!t j j | |� y| j
t j |j � � y)z�Called whenever text is inserted into an object. Overridden
here so that we will speak each item as the user is switching
windows.
Arguments:
- event: the Event
N) r �is_label�sourcer r �onTextInserted�presentMessager �get_name�r �events r
r zScript.onTextInserted1 sJ � � �#�#�E�L�L�1��N�N�)�)�$��6�����H�-�-�e�l�l�;�<r c � � t j |j � s!t j j | |� yy)z�Called whenever text is deleted from an object. Overridden
here because we wish to ignore text deletion events associated
with window switching.
Arguments:
- event: the Event
N)r r r r r �
onTextDeletedr s r
r zScript.onTextDeleted@ s/ � � �#�#�E�L�L�1��N�N�(�(��u�5� 2r N)�__name__�
__module__�__qualname__r
r r � r r
r r &