[Cuis-dev] Protocol for a morph to know when it’s being dragged and dropped by a hand

Juan Vuletich juan at cuis.st
Mon Oct 26 07:44:23 PDT 2026


Hi Cristián,

I've just pushed to GitHub #justDraggedBy:. WRT #justDroppedBy:, that 
behavior is already covered by #justDroppedInto:event: and 
#rejectDropMorphEvent: .

#rejectDropMorphEvent: is not a good name. Perhaps we'd rename it as 
#dropRejectedInto:event:.

There's also #invalidDrop: (sent to the morph that would have been the 
new owner). We could rename this as #dropRejected:event:.

Are these better names? Any suggestions?

Thanks,

On 2026-10-25 5:15 PM, Cristián Pérez via Cuis-dev wrote:
> Hi, the attached changeset includes protocol for a morph to know when it’s being dragged and dropped by a hand!
>
> It follows pre-existing protocol. See #justGrabbedFrom: or #aboutToBeGrabbedBy:, por example.
>
> Cheers!

-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich



More information about the Cuis-dev mailing list