Hy all,
Trying to understand Squeak framework for drag and drop :
From Squeak 3.7 (#5989) and Squeak 3.8 - #dropAcceptedMorph: from: is not implemented anywhere. - #dropNotifyRecipient: is never send - #dropNotifyRecipient is only send from TransferMorph>>justDroppedInto: event: and TransferMorph>>delete - dropNotifyRecipient TransfertMorph inst var is only writen from TransfertMorph>>dropNotifyRecipient: and read from TransfertMorph>>dropNotifyRecipient
justDroppedInto: targetMorph event: anEvent "If only world wants this TransferMorph, treat it as unaccepted (see also >>delete)." super justDroppedInto: targetMorph event: anEvent. self halt. accepted := targetMorph ~= self world. self animationForMoveSuccess: accepted. accepted ifTrue: [self dropNotifyRecipient ifNotNil: [self dropNotifyRecipient dropAcceptedMorph: self from: targetMorph]]. self delete
alain
squeak-fr@lists.squeakfoundation.org