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

Bert Freudenberg bert at freudenbergs.de
Thu Sep 18 13:51:14 UTC 2014


On 18.09.2014, at 04:12, tim Rowledge <tim at rowledge.org> wrote:

> 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: ?

I don't think so. Would be pretty useful to add though (thinking of right-click on touch devices).

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140918/c9c18b90/smime.bin


More information about the Squeak-dev mailing list