They way I look at it is the Racket/gui libraries are already calling the
‘on-event’ method, you have to override their calls so your code can pass
mouse events to your code.
I suppose the trade-off is your code should work on windows, Linux and
macOS with no change.
Kind regards,
Stephen
On Sat
Why do one have to use define/override to get the mouse working on a canvas?
Why not just call the method? It’s a little bit confusing.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails fro
2 matches
Mail list logo