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/gtk3reactor.pyc

ó
±ZOc@sndZddlmZddlmZdejfd„ƒYZdejfd„ƒYZd„Z	d	gZ
d
S(sY
This module provides support for Twisted to interact with the gtk3 mainloop
via Gobject introspection. This is like gi, but slightly slower and requires a
working $DISPLAY.

In order to use this support, simply do the following::

    from twisted.internet import gtk3reactor
    gtk3reactor.install()

Then use twisted.internet APIs as usual.
iÿÿÿÿ(t	gireactor(truntimetGtk3ReactorcBseZdZd„ZRS(s/
    A reactor using the gtk3+ event loop.
    cCstjj|dtƒdS(s:
        Override init to set the C{useGtk} flag.
        tuseGtkN(Rt	GIReactort__init__tTrue(tself((s@/usr/lib/python2.7/dist-packages/twisted/internet/gtk3reactor.pyRs(t__name__t
__module__t__doc__R(((s@/usr/lib/python2.7/dist-packages/twisted/internet/gtk3reactor.pyRstPortableGtk3ReactorcBseZdZd„ZRS(s$
    Portable GTK+ 3.x reactor.
    cCstjj|dtƒdS(s:
        Override init to set the C{useGtk} flag.
        RN(RtPortableGIReactorRR(R((s@/usr/lib/python2.7/dist-packages/twisted/internet/gtk3reactor.pyR&s(RR	R
R(((s@/usr/lib/python2.7/dist-packages/twisted/internet/gtk3reactor.pyR"scCsHtjjƒdkr!tƒ}n	tƒ}ddlm}||ƒ|S(sM
    Configure the Twisted mainloop to be run inside the gtk3+ mainloop.
    tposixiÿÿÿÿ(tinstallReactor(RtplatformtgetTypeRRttwisted.internet.mainR(treactorR((s@/usr/lib/python2.7/dist-packages/twisted/internet/gtk3reactor.pytinstall.s	
RN(R
ttwisted.internetRttwisted.pythonRRRRRRt__all__(((s@/usr/lib/python2.7/dist-packages/twisted/internet/gtk3reactor.pyt<module>s