Perl GTK3 Drag-and-Drop help needed in Asciio

I just added a simpler way to select stencils in Asciio but I’d like to add the possibility to drag and drop from one application instance to another.

This branch contains some code to handle a drop but I don’t have the code, nor do I know how to write it, to start a DnD.

https://github.com/nkh/P5-App-Asciio/tree/dnd

Object can be moved in Asciio, so we already handle the mouse signals. I guess that we need to trigger a drag when the mouse leave the window and declare some custom mime type. But it’s all guessing

Help and clues appreciated.

We also welcome new developers. GTK knowledge would be invaluable. Want to help building a web app around Asciio? Interested in implementing graph routing? Contact us.

Solution can be found here P5-App-Asciio/lib/App/Asciio/GTK/Asciio/DnD.pm at main · nkh/P5-App-Asciio · GitHub

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.