[Twisted-Python] wxPython integration & msg sending from the GUI

Aug. 18, 2008
10:11 a.m.
Hello everyone, when using wxPython integration, if my GUI wants to send msgs, do I need to schedule the msg sending through the reactor like is needed when using non-reactor threads (see my post who's subject is "does setTcpNoDelay() not work?"), like : reactor.callFromThread(srv.sendMessage, "my msg") or can I directly call it like : srv.sendMessage(my msg") ? I followed the wx integration tutorial on the Twisted homepage. I guess my question is more like : "Does the wxPython integration make it run in the reactor thread or not". Thank you, Gabriel
6051
Age (days ago)
6052
Last active (days ago)
2 comments
2 participants
participants (2)
-
Gabriel Rossetti
-
Itamar Shtull-Trauring