[squeak-dev] Fwd: Which methods must I override to enable drag&drop?

Marcel Taeumel marcel.taeumel at hpi.de
Tue Mar 28 13:11:04 UTC 2023


Hi Stef --

Yes, one can freely choose to implement "dragging" through #position: change in #mouseMove: after recording reference coodinates in #mouseDown:. :-)

Best,
Marcel
Am 28.03.2023 11:21:08 schrieb Stéphane Rollandin <lecteur at zogotounga.net>:
Ah, I see, by dragging a morph the OP meant attaching the morph to the
hand. That is indeed Squeak terminology.

What I implemented in my previous message is a way to drag a morph
without having to detach it from its owner. This is what "dragging"
spontaneously means for me...

Stef

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230328/4319f290/attachment.html>


More information about the Squeak-dev mailing list