[Newbies] Re: Programmatically simulating drag and drop

Sean P. DeNigris sean at clipperadams.com
Tue Apr 6 17:02:28 UTC 2010



Bert Freudenberg wrote:
> 
> How detailed do you need the simulation to be? In the end, dropping
> results in 
> 
> 	targetMorph addMorph: droppedMorph
> 

Thanks.  I tried it and it didn't work because what I'm doing is writing an
acceptance test, and I need the drag & drop events to fire.  When I do that
only, it just adds the "dropped morph" as a sub-morph to the target.

Also, I'm highly curious about how to programmatically interact with the
HandMorph in general.  I looked at HandMorphForReplay a little bit, but it
seems to use recording of positions (which would be too brittle for a
high-level test).

Sean
-- 
View this message in context: http://n4.nabble.com/Programmatically-simulating-drag-and-drop-tp1752837p1753102.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


More information about the Beginners mailing list