On Mon, Oct 30, 2006 at 10:36:09AM -0800, Christopher Barker wrote: > However, perhaps you can take advantage of a similar feature (at least > in wx) -- can you make the Frame Modal temporarily? My understanding of > how model dialogs work is that they stop the main event loop, and then > have their own event loop, for just that frame -- then you could catch > the mouse event you want, and make it non-modal again.
I far as I have seen in ipython the execution of a script blocks the eventloop. Now in another shell if the shell is not aware of the event loop, calling show() will block until the windows is closed (that might be a good blocking call for my purpose). This leaves us with the case where the shell is a wx shell and lives in the eventloop. A wx guru would probably give us the solution here. Now I am probably talking nonsense, as I don't know much about gui and event loop, but it does look like there might be a solution (and the chances that I actually implement this are close to zero, given my knowledge of these things). GaÃl ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel