[Q] handling mouse events (many questions)

Martin Drautzburg martin.drautzburg at web.de
Thu Apr 18 20:18:56 UTC 2002


Ned Konz <ned at bike-nomad.com> writes:

Thanks, as usual you have answered all my questions

> To make event handling pluggable.
Pluggable means you can change the behavior at "runtime", right ?

> Perhaps you can add code like this:
> 
> click: anEvent
> 	self isThereGoingToBeAnotherClick ifFalse: [ do something ]
> 
> The implementation of isThereGoingToBeAnotherClick is, of course, left 
> as an exercise for the reader <g>.

I am working on it. I tried counting the clicks between Time now and
Time now addTime: (Time fromSeconds: 1). But the resolution of 1
second seems to coarse :-)




More information about the Squeak-dev mailing list