Re: TkDND: Tk and drag n' drop - Help in improving it...



There's a wiki page which discusses some of this:

http://wiki.tcl.tk/571

It would be good to start, I think, with a brief overview of how dnd
works on Unix, Win32 and MacOS X (presumably the Cocoa APIs not the
older carbon stuff) , and then design a simple Tcl interface which is a
reasonable match for the 3 variations.

My main suggestion would be to allow more dynamic querying than in the
existing tkdnd. A 'drag site' should _promise_ certain capabilities
(e.g. it could promise the ability to provide a large file or large
image or a large chunk of text), but should not need to actually
provide the data until a drop is successful.

cheers,

Vince.

.