
    VhU                     ,    d Z ddlZd Zdddi fdZdgZy)z
This module integrates PyUI with twisted.internet's mainloop.

Maintainer: Jp Calderone

See doc/examples/pyuidemo.py for example usage.
    Nc                     t        j                          t        j                         dk(  r%t        j                          | j	                          y | j                  |t        | |       y )Nr   )pyuidrawupdatequitstop	callLater
_guiUpdate)reactordelays     L/home/dcms/DCMS/lib/python3.12/site-packages/twisted/internet/pyuisupport.pyr
   r
      s?    IIK{{}		%We<    
    c                 ^    t        j                  |i |}|ddlm} t	        || dz         |S )z
    Schedule PyUI's display to be updated approximately every C{ms}
    milliseconds, and initialize PyUI with the specified arguments.
    r   )r   g     @@)r   inittwisted.internetr   r
   )msr   argskwds        r   installr      s2    
 			42A,wV$Hr   r   )__doc__r   r
   r   __all__r   r   r   <module>r      s-   
 = 4bR 
 +r   