search for: defhandlersourc

Displaying 1 result from an estimated 1 matches for "defhandlersourc".

Did you mean: defhandlersource
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
...rt yMove <- xyCoordsRelease[2] - yStart print(c("xMove", round(xMove, 3), "yMove", round(yMove, 3))) plot(rnorm(20), col="red") #print(qplot(rnorm(100), geom="histogram")) pressed <<- FALSE return(TRUE) }) adddropsource(table) #, handler = defHandlerSource) #defHandlerSource = function(h,...) print("source") adddropmotion(g, handler=function(h, ...) { print("motion") }) adddroptarget(g, targetType="object", handler = defHandlerTarget, g) defHandlerTarget = function(h, ...){ print(h$dropdata) } ????????????...