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, 21 Oct 2017 at 07:50, Andreas Olsson <photoguy....@gmail.com> wrote:

> 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 from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to