Re: Perl/Tkx equivalent to Perl/Tk's 'repeat'
[email protected] (Jeff Hobbs)
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <[email protected]> |
On 25/02/2010 5:41 AM, Swingle David-QWHM86 wrote: > Thank you Michael for your tip for implementing repeat. I had seen that > posted elsewhere, but thought maybe there was a better way to do it. I > implemented it successfully, but was hoping for a way to do it that > didn't involve repeating the 'Tkx::after' command. I guarantee you that under the covers, the 'repeat' subcommand in Perl/Tk was just using Tcl's 'after' as well. There are ways in Tkx to have all widgets recognize this if you want, but I don't think that makes the best design because it makes translation and future upkeep harder. After all, isn't it better to have a global 'repeat' function? Jeff