Getting Mouse position on a Julia Gtk Canvas

Is there a callback function in Julia Gtk that gives the mouse position when clicked on a Canvas?

There’s an example in the docs, you can access the mouse position with event.x and event.y. That said it doesn’t work on my computer (but it’s probably because I have the new Cairo binaries).

1 Like

Hi, Jonathan, oddly, it does work on my Mac, without
using Cairo. So once again thanks for your help, for which I’m
much indebted!

– Robin