Re: TkDND: Tk and drag n' drop - Help in improving it...
- From: "Georgios Petasis" <petasis@xxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 16:23:02 +0300
<vince.darley@xxxxxxxxx> wrote in message
news:1143715649.864422.6850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.
Unfortunatelly, this cannot be done. The XDND protocol (unix) specifies
that the drop target may request to see the data, in order to decide
if it is going to accept the drop.
George
.
- Follow-Ups:
- Re: TkDND: Tk and drag n' drop - Help in improving it...
- From: vince . darley
- Re: TkDND: Tk and drag n' drop - Help in improving it...
- References:
- TkDND: Tk and drag n' drop - Help in improving it...
- From: Georgios Petasis
- Re: TkDND: Tk and drag n' drop - Help in improving it...
- From: vince . darley
- TkDND: Tk and drag n' drop - Help in improving it...
- Prev by Date: Re: winter and summer time confusion in clock and tcl 8.4.12 and 8.5a4 (starpack)
- Next by Date: Re: TkDND: Tk and drag n' drop - Help in improving it...
- Previous by thread: Re: TkDND: Tk and drag n' drop - Help in improving it...
- Next by thread: Re: TkDND: Tk and drag n' drop - Help in improving it...
- Index(es):
Relevant Pages
|