Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/internet/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/internet/wxsupport.pyc

ó
[³XMc@sxdZddlZejdƒddlmZddlmZddlmZddd„ƒYZ	d	„Z
d
gZdS(sÜ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
iÿÿÿÿNsBwxsupport is not fully functional on Windows, wxreactor is better.(twxApp(treactor(tplatformTypetwxRunnercBs eZdZd„Zd„ZRS(s!Make sure GUI events are handled.cCs
||_dS(N(tapp(tselfR((s>/usr/lib/python2.7/dist-packages/twisted/internet/wxsupport.pyt__init__&scCsGx |jjƒr"|jjƒqW|jjƒtjd|jƒdS(s^
        Execute pending WX events followed by WX idle events and
        reschedule.
        g{®Gáz”?N(RtPendingtDispatchtProcessIdleRt	callLatertrun(R((s>/usr/lib/python2.7/dist-packages/twisted/internet/wxsupport.pyR)s
(t__name__t
__module__t__doc__RR(((s>/usr/lib/python2.7/dist-packages/twisted/internet/wxsupport.pyR#s	cCs#t|ƒ}tjd|jƒdS(s4Install the wxPython support, given a wxApp instanceg{®Gáz”?N(RRR
R(Rtrunner((s>/usr/lib/python2.7/dist-packages/twisted/internet/wxsupport.pytinstall7sR((RtwarningstwarntwxPython.wxRttwisted.internetRttwisted.python.runtimeRRRt__all__(((s>/usr/lib/python2.7/dist-packages/twisted/internet/wxsupport.pyt<module>s