The Perl/Tk version of my script seems fine as far as drag-n-drop. Just can't decipher the Perl/Tkx way to do it. Might have to abandon my attempts and stick with what I have with Tk. This is taking too much time away from my real job! I will definitely post something once I know how to do it. I've seen too many posts where someone will have a problem, get some help and then they'll announce that they solved it, leaving everyone else up in the air as far as the solution.
| [reply] |
| [reply] |
I'm assuming you've moved on from this problem, but here's something that might help. Only the core of Tk is accessible by default, but it seems that you can get at the rest of it with a little effort. I spent all day trying to write my own Tkx tooltip functionality, and after failing to successfully debug mysterious memory leaks I stumbled upon a way to use Tk's tooltips.
Tkx::package_require('tooltip');
Tkx::namespace_import("::tooltip::tooltip");
Tkx::tooltip($widget, "Some text.");
Note how Tkx::tooltip won't work without the require and import lines. Perhaps you can get at Tk's drag and drop functionality in a similar manner. Good luck. | [reply] [d/l] |
the only sure way is to help yourself, funny :)
| [reply] |