[Newbies] Event handling: mouse click vs. mouse drag
K. K. Subramaniam
subbukk at gmail.com
Fri Nov 13 00:45:37 UTC 2009
On Thursday 12 November 2009 06:01:01 pm Esther wrote:
> for a UI, I need to distinguish between mouse clicks and mouse drags (mouse
> down, move, up). Is there a rather simple way to do this in Squeak?
See use of mouseMove: method in John Maloney's excellent tutorial on Morphic:
http://stephane.ducasse.free.fr/FreeBooks/CollectiveNBlueBook/morphic.final.pdf
You can also browse the senders and implementers of mouseMove: for examples.
HTH .. Subbu
More information about the Beginners
mailing list