<div dir="ltr">There is a pool variable EventTypeDragDropFiles<div>Look at method generateDropFilesEvent:</div><div><br></div>There is sqMacDragDrop.c for Carbon<br>For Cocoa there is sqSqueakOSXDropAPI.m<br><br>So it should support drag/drop of files<br>As it only supports NSFilenamesPboardType<br><br>    [self registerForDraggedTypes: [NSArray arrayWithObjects: NSFilenamesPboardType, nil]];<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 7:18 AM, Sean P. DeNigris <span dir="ltr">&lt;<a href="mailto:sean@clipperadams.com" target="_blank">sean@clipperadams.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
johnmci wrote<br>
<span class="">&gt; The carbon and cocoa VM does support drag and drop see<br>
&gt; <a href="https://isqueak.org/ioGetNextEvent" rel="noreferrer" target="_blank">https://isqueak.org/ioGetNextEvent</a><br>
&gt; Maybe someone ripped out the image side logic?<br>
<br>
</span>The reason I thought it was a VM issue is that, for Mail.app message drops<br>
(unlike with file drops), the icon flies back to Mail.app, and no event is<br>
generated (i.e. `Sensor nextEvent` never returns a non-nil value). Also,<br>
with files, the Pharo window shows an inside border, apparently indicating<br>
that the drop will be accepted. Is all that determined on the image-side? If<br>
so, can you point me in the direction of that code?<br>
<br>
<br>
<br>
-----<br>
Cheers,<br>
Sean<br>
--<br>
View this message in context: <a href="http://forum.world.st/Accepting-all-DNDs-on-Mac-tp4842062p4842116.html" rel="noreferrer" target="_blank">http://forum.world.st/Accepting-all-DNDs-on-Mac-tp4842062p4842116.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Squeak VM mailing list archive at Nabble.com.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">===========================================================================<br>John M. McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank">johnmci@smalltalkconsulting.com</a>&gt; <a href="https://www.linkedin.com/in/smalltalk" target="_blank">https://www.linkedin.com/in/smalltalk</a><br>===========================================================================<br></div></div>
</div>