JuliaImages / ImageView.jl

Interactive display of images and movies
MIT License
135 stars 34 forks source link

Getting mouse input #240

Closed cfitz25 closed 3 years ago

cfitz25 commented 3 years ago

Hello, is there anyway to get the mouses current position and if a button is pressed? Pretty much just interaction events in general i guess. I see the mouses position shows in the window but i require access to it programmatically.

timholy commented 3 years ago

This is covered in the docs for GtkReactive, and the needed bits of data are in the returned Dict.