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




<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


.



Relevant Pages

  • Re: Where to ask Unix command line questions?
    ... match on a non-printing character. ... on MacOS X 10.4.11, but I don't think I'll be able to work it out ... Not a lot of use if you're after documentation, ... Oh yes it is - it's just that the people who live in the Unix world want ...
    (uk.comp.sys.mac)
  • Re: [bashing] Windows und Radweg (was: "Der VCOe fordert mehr Radwege"
    ... Unix-Mechanismus (editieren von /etc/passwd) nicht funktioniert hat. ... Auf HP/UX, auf Interactive Unix, auf Ultrix und auf Digital Unix hat ... Ebenso wie unter FreeBSD und überraschenderweise MacOS X (vipw ...
    (de.rec.fahrrad)
  • Re: XML schema for genealogy
    ... Hugh Watkins wrote: ... so the true comparison is Unix versus Windows ... Apple, with MacOS X, has successfully done what ... a linux from a dozen or more flavors... ...
    (soc.genealogy.computing)
  • Re: Neue Maszeinheit entdeckt
    ... prinzipiell alles was Win kann - und als zertifiziertes Unix einiges ... MacOS X ... Als Anwender merkt man nix davon. ... kommt Unix mit X11 und in Aussehen und Bedienung an Windows ...
    (de.etc.sprache.deutsch)
  • Re: Sony CDs are not safe to play in a Windows computer
    ... and provide full memory protection. ... > any version of Unix (including Linux and MacOS X). ... strip view finger mount fcsk more fcsk yes spray umount sleep ...
    (rec.arts.anime.misc)