The question is how does one go about allowing a user to click on a card (a TK::Canvas->createImage type) and drag it about to different places, and then place it down. This presents a plethora of problems (checking if it can go where it is being put, what to do with it if it can't, having some sort of closeenough variable to see if its close enough to pile to count--would canvas -closeenough option be what I want?--etc.).
I think you get the idea. . . now all these things I can play around with and learn from, BUT, in looking for drag/drop procedures in Tk, I found Tk::DragDrop. However, there are 12 module files, all undocumented. I want to know if any one has ever done anything with EITHER this module, or another one that's optionally better, and, if so, can you explain the interface somewhat.
I could go about making my own module to do this, however I'd prefer not to 're-invent the wheel' (and I wouldn't know where to start, and I want to get this done as soon as possible).
In reply to Dragging/Dropping images with Tk by dimmesdale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |