[squeak-dev] #mouseHold: equivalent in newer images

tim Rowledge tim at rowledge.org
Thu Sep 18 02:12:12 UTC 2014


The old Scratch code uses the no longer supported #mouseHold: message to pop up menus if the left button is held down for a while; a bit like the doubleClickTimeout: we have now but not quite.

I tried using doubleClickTimeout: but it doesn’t get sent when the first click is held too long if there is a drag selector as well (which seems a bit odd) and it does odd things anyway. I’m looking at #mouseStillDown: now but that looks to be aimed at a different use pattern.

Is there an actually working equivalent of the old #mouseHold: ?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: RSC: Rewind System Clock




More information about the Squeak-dev mailing list