Re: [racket-users] Racket application quits after hiding gui window

2018-04-27 Thread Matthew Flatt
The main way to avoid a default exit on Mac OS is to create a `menu-bar%` with the parent 'root. That menu bar becomes active when no windows (i.e., frames) are open. Another way is to not rely on the implicit `(yield (current-eventspace))` of a GUI executable, and instead use something like

Re: [racket-users] Racket application quits after hiding gui window

2018-04-27 Thread Philip McGrath
I know that, on Mac at least, it's expected behavior for the application to exit when all windows are hidden with `(send frame show #f)`. I personally think this is a great default, because it prevents the annoying behavior of other applications that hang around open even when you mean to have