def portableInstall(useGtk=True):
    reactor = PortableGtkReactor()
    from twisted.internet.main import installReactor
    installReactor(reactor)
    return reactor
Configure the twisted mainloop to be run inside the gtk mainloop.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/gtk2reactor.py/portableInstall