We are are almost ready for a deken release.

Anyone wanting to test:

download from : https://github.com/Lucarda/pd-dnd-plugin/tree/update-v02

non osx users don't copy the "tkdnd" folder. (on the git we don't supply the 
linux or windows tkdnd)


Suggestions welcomed.

Mensaje telepatico asistido por maquinas.

On 10/30/2018 1:57 PM, Jean-Yves Gratius wrote:

see attached example, mix of 1) and 2)    :-)


-------- Forwarded Message --------
Subject:        Re: drag and drop
Date:   Tue, 30 Oct 2018 16:06:57 +0100
From:   Jean-Yves Gratius <[email protected]><mailto:[email protected]>
To:     [email protected]<mailto:[email protected]>



Hello,
In response to your problem about scrolled window :

1) you should put an iemguts/canvasreceive object in your main patch
and  wait for the first motion event it delivers after you received a
dnd-dropped message (assuming you will move a bit the mouse after
dropping down). This way, you get the correct coordinates in the patch,
may the window be scrolled or not.
2) you should put a bang gui-object in your gop abstraction. Then,
receiving global dnd-dropped msg will "arm" it, and you'll have to click
to the gui-bang to confirm the operation. It's not pure "drag and drop"
but it is a vanilia approach, and you don't have to calculate about gop
coords and margins. Just wait for a click on a bang button.





_______________________________________________
[email protected]<mailto:[email protected]> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to