def simulate(self):
        if self._simtag is not None:
            gobject.source_remove(self._simtag)
        self.runUntilCurrent()
        timeout = min(self.timeout(), 0.1)
        if timeout is None:
            timeout = 0.1
        # grumble
        self._simtag = gobject.timeout_add(int(timeout * 1010), self.simulate)
Run simulation loops and reschedule callbacks.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/gtk2reactor.py/Gtk2Reactor.simulate