drag with move position events?
I'm trying to implement an drag-like UI gesture where the user clicks
on a shape in a canvas, starts dragging it, and event handlers adjust
a value and redraw the canvas, based on the position of the drag. I'm
looking at the java doc for DragStartHandler, et al, but it's sparse.
I thought I'd listen to mousemove, along with the drag events, but it
stops when the drag starts. Is there a way to get the x,y positions
as the drag proceeds? I'd do it all with mouse down, move, and up;
except I loose the mouse-up event if it occurs outside the narrow
canvas element.
Rob
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home