RE: Drag-n-Drop in Perl/Tkx

[email protected] ("Konovalov, Vadim (Vadim)** CTR **")
Newsgroups perl.tcltk
Message-ID <35BF8D9716175C43BB9D67CA60CC345E14C7F7F9@FRMRSSXCHMBSC2.dc-m.alcatel-lucent.com>
> So, is there any solution to getting Drag and Drop to work in 
> Perl/Tkx,
> in Windows, with Perl 5.8.8?  Is there a way to interface to Perl/Tk
> from Tkx?  Drag and Drop in Perl/Tk is simple and I can do 
> that, but I'd

To the best of my knowledge, Perl/Tk does not allow extra-application drag-n-drop.
Maybe I am wrong and not aware of something obvious 

for example I see on my system D:\perl584\site\lib\Tk\DragDrop\Win32Site.pm
and also I see 
http://cpansearch.perl.org/src/SREZIC/Tk-804.028/dnd_demo in Tk distribution, but this seemingly deals with DND inside the same application, correct me if I am wrong.

> like to be able to use Tkx.  I can't require all the engineers to
> download and install other packages, so I need a solution that uses
> 5.8.8.  Or, is there a way to embed a package in my script, 
> so that only
> I have to download it, but it is part of my script?

IMO - yes, there are several ways to do that - you can put "tkdnd" files around and make your app to reach them, and also you can modify "tkkit" dll in a way that Jeff explained.

Best regards,
Vadim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.