perlquestion
Anonymous Monk
I was wondering if anyone had any code or links to any code that illustrated the process of getting a perl/tk widget to accept a dnd event from another application?
<p>The only sources I have found on the whole of the internet are listed in the comp.lang.perl.tk FAQ, section 10.22, namely
<p>http://www.perltk.org/articles/dnd/dnd.html ... and
<p>http://www.perl.com/pub/a/2001/12/11/perltk.html
<p>The second article deals with local drops only, and the first - while mentioning remote drops - provides a script which does not seem to work.
<p>In brief, I am unable to get any perl/tk widget to "accept" the drop - I drag a file over it from a XDND-compatible file-manager (ROX) and the window refuses to accept the file - or at least, the file icon does not gain a "+" sign indicating I can drop it, and my script refuses to respond to the drop event.
<p>If there are any code examples that illustrate this, please let me know (I've searched google, lycos, and even freshmeat (looking at all perl/tk apps - none use remote drops) ... and I'm beginning to wonder if *anyone* has ever written anything that uses remote drops!!)
3