File: //usr/lib/python3/dist-packages/twisted/internet/__pycache__/pyuisupport.cpython-38.pyc
U
W[1 � @ s0 d Z ddlZdd� Zdddi fdd�ZdgZdS ) z�
This module integrates PyUI with twisted.internet's mainloop.
Maintainer: Jp Calderone
See doc/examples/pyuidemo.py for example usage.
� Nc C s: t �� t �� dkr&t �� | �� n| �|t| |� d S )Nr )�pyuiZdraw�update�quit�stopZ callLater�
_guiUpdate)�reactorZdelay� r �>/usr/lib/python3/dist-packages/twisted/internet/pyuisupport.pyr s
r �
r c C s2 t j||�}|dkr ddlm} t|| d � |S )z�
Schedule PyUI's display to be updated approximately every C{ms}
milliseconds, and initialize PyUI with the specified arguments.
Nr )r g @�@)r ZinitZtwisted.internetr r )Zmsr �args�kw�dr r r �install s
r )�__doc__r r r �__all__r r r r �<module> s