Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addHandlerMouseMotion is not working #92

Open
elpibeperez opened this issue Dec 30, 2016 · 0 comments
Open

addHandlerMouseMotion is not working #92

elpibeperez opened this issue Dec 30, 2016 · 0 comments

Comments

@elpibeperez
Copy link

I wrote this small program to test the handler for mouse motion.
Change lena_img with a valid path to a jpeg image
When I change addHandlerMouseMotion to addHandlerClicked, the program works as expected.
Is the mouse motion event not implemented? Or I am not working with the correct stack?

gWidgets2 1.07
gWidgets2RGtk2 1.05
R version 3.2.2 (2015-08-14) -- "Fire Safety"
R studio Version 0.99.896
Ubuntu 16.10

library(gWidgets2RGtk2)
library(gWidgets2)
library(cairoDevice)
library(ggplot2)
lena_img = "/path/to/some/jpg/image.jpg"
WINGRAPH0 <- gwindow("")
gnb <- gnotebook(container=WINGRAPH0)
image <- gimage(lena_img, container=gnb)
id <- addHandlerMouseMotion(image, function(h, ...) print ('AAAA'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant