%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/orca/scripts/apps/gajim/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/orca/scripts/apps/gajim/__pycache__/script.cpython-312.pyc

�

g
f����dZdZdZdZdZdZddlZejdd	�dd
lm	Z	ddl
mZddlm
cmZddlmZGd�d
ej"�Zy)zCustom script for Gajim.z$Id$z
$Revision$z$Date$z#Copyright (c) 2010 Joanmarie Diggs.�LGPL�N�Atspiz2.0)r)�AXUtilitiesc�<�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
y	)
�Scriptc��tjjtjjtjjtjj
tjjtjjgg|_tjj||�y)z/Creates a new script for the given application.N)r�Role�TABLE�SCROLL_PANE�FILLER�
SPLIT_PANE�FRAME�_buddyListAncestries�defaultr�__init__)�self�apps  �@/usr/lib/python3/dist-packages/orca/scripts/apps/gajim/script.pyrzScript.__init__,sw��
',�j�j�&6�&6�&+�j�j�&<�&<�&+�j�j�&7�&7�&+�j�j�&;�&;�&+�j�j�&7�&7�&+�j�j�&6�&6�&8�%9��!�	������c�*�c�B�tj||j�S)z)Returns the 'chat' class for this script.)�chat�Chatr�rs r�getChatzScript.getChat:s���y�y��t�8�8�9�9rc��tjj|�|jj	|j
j�y)z�Defines InputEventHandler fields for this script that can be
        called by the key and braille bindings. Here we need to add the
        handlers for chat functionality.
        N)rr�setupInputEventHandlers�inputEventHandlers�updaterrs rrzScript.setupInputEventHandlers?s4��	���.�.�t�4����&�&�t�y�y�'C�'C�Drc�.�|jjS)z=Returns the application-specific keybindings for this script.)r�keyBindingsrs r�getAppKeyBindingszScript.getAppKeyBindingsHs���y�y�$�$�$rc�6�|jj�S)z�Return a GtkGrid containing the application unique configuration
        GUI items for the current application. The chat-related options get
        created by the chat module.)r�getAppPreferencesGUIrs rr#zScript.getAppPreferencesGUIMs��
�y�y�-�-�/�/rc�6�|jj�S)z7Returns a dictionary with the app-specific preferences.)r�getPreferencesFromGUIrs rr%zScript.getPreferencesFromGUITs���y�y�.�.�0�0rc�|�|jj|�rytjj	||�y)z+Called whenever text is added to an object.N)r�presentInsertedTextrr�onTextInserted�r�events  rr(zScript.onTextInsertedYs-���9�9�(�(��/�����%�%�d�E�2rc��tj|j�tjj||�y)z/Called whenever a toplevel window is activated.N)r�find_all_page_tabs�sourcerr�onWindowActivatedr)s  rr.zScript.onWindowActivatedas*��	�&�&�u�|�|�4����(�(��u�5rN)�__name__�
__module__�__qualname__rrrr!r#r%r(r.�rrrr*s+��+�:�
E�%�
0�1�
3�6rr)�__doc__�__id__�__version__�__date__�
__copyright__�__license__�gi�require_version�
gi.repositoryr�	orca.chatr�orca.scripts.default�scriptsr�orca.ax_utilitiesrrr2rr�<module>r@sW��(�������5�
���	�����7�E�"���&�&�)�>6�W�^�^�>6r

Zerion Mini Shell 1.0