Would it be possible to add a procedure to library graphics/graphics showing the state of a viewport (open, hidden or closed)? When closing a viewport in the title bar (upper right corner)
while the program is waiting for a mouse-click or a key-press, the program keeps waiting without warning and doing nothing. When a viewport has been closed no such event can be posted. Just issuing a warning when closing a viewport would do as well.
Hi @joskoot
This sounds like a bug! And it probably can be fixed.
The first step is to log an issue Sign in to GitHub · GitHub
and include a short sample program that demonstrates the issue.
I believe the graphics/graphics library is quite limited, and for most purposes you are better off with the default GUI toolkit The Racket Graphical Interface Toolkit
Is there a reason why you need to use the graphics/graphics for your project?
Best regards, and welcome to the Racket Discord,
Stephen
Thanks for your reply. I issued a feature request in racket #5545.