[Cuis-dev] MouseButton2 Handler Proposal

Joel Camera joel.camera at 10pines.com
Thu May 15 09:02:37 PDT 2025


Hi again folks!
This is a proposal for the mouseButton2Down:localPosition: and
mouseButton2Up:localPosition:.
The thing is that they don't work the same as mouseButton1* that have a
property and if you set that property to the morph with a handler, that
handler will run when the event happens. If you want to use mouseButton2*,
you have to add an extended method or subclassify (depending on what you
are doing).

So the proposal is to have the property like the mouseButton1* handlers.
With this, it will be easier to use those events.
The call to #mouseButton2Activity in #mouseButton2Down:localPosition is not
going to be changed.

<https://10pines.com/>Joel CámeraAgile Software Development

Alem 896, Floor 6, Buenos Aires, Argentina

+54 9 011 6091 3125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250515/fc3cd0fa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MouseButton2Events-JEC.001.cs.st
Type: application/octet-stream
Size: 907 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250515/fc3cd0fa/attachment.obj>


More information about the Cuis-dev mailing list