Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How do external drops from Perl/Tk on Win32?

by jeorgen (Pilgrim)
on Jul 20, 2002 at 15:11 UTC ( [id://183603]=perlquestion: print w/replies, xml ) Need Help??

jeorgen has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,
I've read through a good tutorial on using drag and drop on Win32 with Perl/Tk, with working scripts on local drag and drop and drop from e.g. a regular Windows window and into Perl/Tk. I've also scoured the net for more info.

But I'm at a loss of how to drag something from inside Perl/Tk and in to a regular Windows window. This should be possible as far as I can tell. The Tk::DragDrop::Win32Drop modules is basically empty though, but the above mentioned tutorial says that Win32 support was added in v800.005 for Perl/Tk. I'm running 800.022 .

Thanks for any advice!

/jeorgen

  • Comment on How do external drops from Perl/Tk on Win32?

Replies are listed 'Best First'.
Re: How do external drops from Perl/Tk on Win32?
by Courage (Parson) on Jul 20, 2002 at 16:36 UTC
    As I just did RTFM, RTFS and some testings, it is very likely that it is not implemented for Win32, and is implemented for SUN configurations.

    As a workaround that I tried (but not enough to succeed due to time limits) is to embed external C program via "-embed" option, which will allow Win32-drags.

    Courage, the Cowardly Dog.

      Thanks for your answer Courage. I have managed to get it to work in wxpython, so it ought to work in wxperl, but there is not much documentation on it. I noticed there are wxperl tutorials at this site here and here and here. Maybe I should msg boo_radley and ask for advice.

      There is a drag-and drop implementation for Win32::GUI, but i think it needs patching in the C code, according to a page I can't locate right now, but which I believe is related to the docs on GUILoft and Oasis by Johan Lindström.

      Maybe one should encourage someone (using the means necessary) to create a functioning external drop in perl/Tk?

      /jeorgen

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://183603]
Approved by virtualsue
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-24 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found