home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!inls1.ucsd.edu!fisher
- From: fisher@inls1.ucsd.edu (Yuval Fisher)
- Newsgroups: alt.toolkits.xview
- Subject: Using a mouse event to exit a routine
- Date: 20 Nov 1992 21:30:50 GMT
- Organization: Institute for Nonlinear Science
- Lines: 23
- Message-ID: <1ejleaINNflq@network.ucsd.edu>
- NNTP-Posting-Host: inls1.ucsd.edu
-
- This must be a common problem, but I haven't been able to
- find a nice solution. I want a subroutine to run (drawing a
- fractal, say) until I hit the mouse button, at which point
- it stops and exits.
-
- I've managed to do this with the fullscreen package, but then
- I can't use other windows (in other programs) while the subroutine is active.
-
- I've managed to to this with read_next_event, but then a click on
- some other button in my application causes everything to hang; the
- proper event never seems to come through.
-
-
- I'd appreciate any and all help, thanks..
-
- Yuval Fisher
-
- ---------------------------------------------------------------------
- Yuval Fisher e-mail: yfisher@ucsd.edu
- Institute for Non-Linear Science 0402
- University of California, San Diego
- La Jolla, CA 92093
- ---------------------------------------------------------------------
-