[Twisted-Python] wxreactor and dialog on win xp problem
I have a problem with wxreactor on win xp. I insert a ShowModal() of a TextEntryDialog after an event of a button in a frame. The ShowModal function of the dialog, don't return me the control after the dialog has close, but only when the global application has closed. I try this with a bit of print. Show the example for tests. On my linux-box, with the same wxpython and twisted version, all work well. python 2.3.4 wx 2.5.3.1 twisted 1.3.0 Thanks, Michele
On Tuesday 08 March 2005 20:48, Michele Petrazzo wrote:
I have a problem with wxreactor on win xp.
I insert a ShowModal() of a TextEntryDialog after an event of a button in a frame.
wx and Twisted cannot be made to play together nicely - both wxreactor and wxsupport have issues. In one of them, modals and popups cause the reactor to block, in the other, you can't get accurate callLater (wx guarantees "no worse than 1s resolution"). You need to run wx and twisted in separate threads - wx in the main, twisted in the child thread. Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
participants (2)
-
Anthony Baxter
-
Michele Petrazzo