| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/__pycache__/ |
Upload File : |
�
�@�cy � �R � d Z ddlZddlZej � � � d� ZdS )z�
PyGTK input hook for prompt_toolkit.
Listens on the pipe prompt_toolkit sets up for a notification that it should
return control to the terminal event loop.
� Nc � � d� }t j | � � � t j |� � t j � � dS )z�
When the eventloop of prompt-toolkit is idle, call this inputhook.
This will run the GTK main loop until the file descriptor
`context.fileno()` becomes ready.
:param context: An `InputHookContext` instance.
c �, � t j � � dS )NF)�gtk� main_quit)�a�kws �D/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/gtk.py�
_main_quitzinputhook.<locals>._main_quit5 s � ��
�����u� N)�gobject�io_add_watch�fileno�IO_INr �main)�contextr
s r � inputhookr , sC � �� � � �����)�)�7�=�*�E�E�E��H�J�J�J�J�Jr )�__doc__r r �gdk�threads_initr � r r �<module>r sY ��@� � � � � � � � � � �� � � � � �� � � � r