[PEAK] A taxonomy of event sources: designing the events API

Ulrich Eck ueck at net-labs.de
Wed Jan 7 07:00:35 EST 2004


> yep .. i use twisted with peak and wxPython currently by calling the
> Process method of a wxApp in a reactor callback which works fairly well.

Err .. there is no Process-Method on a wxApp:

    def _runAsync(self):
        if not self.running:
            return

        while self._app.Pending():
            self._app.Dispatch()
                
        # from twisted but not in wxWindows Reference ...
        self._app.ProcessIdle()
        self.reactor.callLater(0.02, self._runAsync)

is what i do for getting peak/twisted/wxPython to work together.


> -------------------------------
> 
> Ulrich Eck
> net-labs Systemhaus GmbH
> CEO & Code-Artist
> Ebersberger Str. 46
> 85570 Markt Schwaben - Germany
> 
> eMail: ueck <at> net-labs.de
> phone: +49 8121 4747 10
> fax:   +49 8121 4747 77
> 
> _______________________________________________
> PEAK mailing list
> PEAK at eby-sarna.com
> http://www.eby-sarna.com/mailman/listinfo/peak




More information about the PEAK mailing list