
    ^h-                     .    S r SSKJr   " S S5      rS rg)z&
prompt_toolkit input hook for GTK 4.
    )GLibc                   &    \ rS rSrS rS rS rSrg)
_InputHook   c                     SU l         [        R                  " UR                  5       [        R                  [        R
                  U R                  5        g )NF)_quitr   io_add_watchfilenoPRIORITY_DEFAULTIO_INquitselfcontexts     ]/home/james-whalen/.local/lib/python3.13/site-packages/IPython/terminal/pt_inputhooks/gtk4.py__init___InputHook.__init__	   s5    
NNd33TZZ	
    c                     SU l         g)NTFr   )r   argskwargss      r   r   _InputHook.quit   s    
r   c                     [         R                  R                  5       nU R                  (       d%  UR	                  S5        U R                  (       d  M$  g g )NT)r   MainContextdefaultr   	iterationr   s     r   run_InputHook.run   s6    ""**,**d# ***r   r   N)__name__
__module____qualname____firstlineno__r   r   r   __static_attributes__ r   r   r   r      s    
$r   r   c                 :    [        U 5      nUR                  5         g )N)r   r   )r   hooks     r   	inputhookr(      s    gDHHJr   N)__doc__gi.repositoryr   r   r(   r%   r   r   <module>r+      s    $ $"r   