Drag and drop events in Pharo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Drag and drop events in Pharo

Christian Caldeiro-3
Hi,

I've made a small experiment, dragging a file to Pharo's window, which caused to instantiate a FileList object (shown as a pop-up window) with instance variable reference containing a FileReference object corresponding to the file chosen. (Does this make sense?)

The question is, how can I customize this to get this FileReference instance and assign it to some arbitrary class instance variable? In other words, how does the dnd event work in this case?

Thanks

Christian