[racket] Plot: plot-new-window never happens?

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Oct 10 09:43:02 EDT 2012

On May 25th, Neil Toronto wrote:
> On 04/18/2012 06:27 AM, Deren Dohoda wrote:
> > It was convenient to have something that bypassed the whole gui
> > issue.  Since it really is a gui issue, I am not too offended that
> > my own laziness got in my way.
> 
> I just pushed a fix that turns your so-called laziness into correct
> behavior. :) The original loop will work as you intended it.

Is there some way to avoid this ugliness:

  (define f (plot-frame ...))
  (send f show #t)
  (void (sync (send f get-eventspace)))

Since plot starts a new eventspace for every frame, writing a script
that pops up a plot will happily quit without that last line.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.