crabnebula-dev/drag-rs

Is it possible to get the dropped file's path?

owohai opened this issue · 1 comments

Hi all! As mentioned in the title, is there a callback that provides me with the dropped file path? Using the example located over at examples/tauri-dragout provides me with the x and y position of the mouse and the status of aforementioned dropped file.

I did notice there was an issue closed a while back that mentioned requiring a callback or some sort of function that provides them with the dropped path. From what I see, I'm not too sure how to implement it and it's not really documented.

Thanks!

It seems that the plugin can only get the drop position, the tauri app may not be able to access a current file path of file manager window.