§
    �Ÿj{	  ã                   óR   — d Z ddlZddlZej                             ¦   «          d„ ZdS )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        ¦   «          dS )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        ¦   «          dS )NF)ÚgtkÚ	main_quit)ÚaÚkws     úo/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/IPython/terminal/pt_inputhooks/gtk.pyÚ
_main_quitzinputhook.<locals>._main_quit7   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   