ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
Re: [MACTCL] Feasibility of receiving dragged files
by Kevin Walzer other posts by this author
Aug 9 2007 11:55AM messages near this date
[MACTCL] Feasibility of receiving dragged files | [MACTCL] Fwd: Need TCL/X11 for OS X 10.4 intel
Jim DeVona wrote:
>  Is there any method for a TkAqua program to receive drags from another
>  application? Specifically, I would like to allow users to drag files
>  from the Finder to a listbox in my script's window. The
>  ::tk::mac::OpenDocument hook works wonderfully for receiving files
>  dragged to the Dock icon, but I realize that general interapplication
>  drag-and-drop is a complicated subject. Are there at least any
>  thoughts on the subject, pertinent to how it might hypothetically be
>  implemented in TkAqua?
>  

In a word, no.

This kind of functionality is provided by the tkdnd extension, but that 
package only works on X11 and Windows; its developer, Georgios Petasis, 
does not use Macs, and no one has tried to port it to Tk-Aqua. It's a 
C-based extension and would probably build on the Carbon Drag Manager.

This is something that many people have asked for, but those who want it 
most generally don't have the C-level chops to port it to Aqua (this 
includes myself), and those who have the skills generally don't have the 
time or the interest to do so, because they may not have any need for it.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now > >  http://get.splunk.com/
_______________________________________________
Tcl-mac mailing list
tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Jim DeVona
Kevin Walzer

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved