�
Ϫ�fU � �, � d Z ddlZd� Zdddi fd�ZdgZy)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 � dk( r%t j � | j � y | j |t | |� y )Nr )�pyui�draw�update�quit�stop� callLater�
_guiUpdate)�reactor�delays �>/usr/lib/python3/dist-packages/twisted/internet/pyuisupport.pyr
r
s? � ��I�I�K��{�{�}���� � ���������%��W�e�<� �
� c �^ � t j |i |��}|�ddlm} t || dz � |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- ��
� �=� �4�b�R�
� �+�r |