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
|