I made Subsimport that lets users import .srt files into the VSE. I'd like to improve it by allowing users to drag .srt files into the timeline instead of having to click the "Import" button.

Does anyone know how to connect a drag and drop event to an operator? I've read rumors that this ability was coming to Blender 2.8

  • $\begingroup$ Addon looks great. $\endgroup$
    – batFINGER
    Jan 12, 2019 at 12:31

1 Answer 1


Not sure if you already looked through some of the older(around 2013-15) posts about whether it's possible to handle from python(it wasn't). The last thread I saw about implementing some way for handling drag and drop imports from python ended with nothing in 2015 (link). That same thread had drag and drop import for .obj files from somebody, but iirc it was in C.

Rumor about it being in 2.8 is likely due to comment on similar post to yours here on stackexchange which didn't have any quotes/sources about it (link).

I think that rumor is based on the ability to drag and drop .blend files to open/link/append that's new to 2.8. I don't know if it will help, but there's a developer thread about it, could be a starting point (link)

  • $\begingroup$ There is this ticket that is more recent and was clearly about providing custom DnD features through Python API: developer.blender.org/D4071 $\endgroup$
    – Lithy
    Oct 27, 2020 at 21:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .