I've made a small patch which uses WM_DROPFILES to trigger an on_file_drop event with the file list and x, y position.
Patch is here: http://code.google.com/p/pyglet/issues/detail?id=620&colspec=ID%20Stars%20StatusType%20OpSys%20Modified%20Summary Or you can get it from here: http://code.google.com/r/jacobvgardner-pyglet/ I've never used mercurial before (git user) so the patch might be in the wrong format. I should have drag and drop working for x11 by the end of the night using the XDND protocol. I don't have a mac so I will not be able to write the patch for Carbon/Cocoa support. This should be useful for those who wish to accept file input but don't want to write the logic for a file open dialog of some sort or simply want to give their users more options. Let me know -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/-7cllciLkUUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
