RE: [tcltk-perl] RE: Anyone try running Insight/gdbtk thru tcl2perl ?
Brought to you by:
hobbs
From: Jeff H. <je...@Ac...> - 2004-12-20 19:38:22
|
Vadim Konovalov wrote: > (CC-ed to Tcl::Tk discussion list) > > > >>"real soon now", but lack of Perl mega-widgets is a > > show-stopper, no? > > Another thought as being "show-stopper" - my feeling that lack of = perlTk > mega-widgets is not a show-stopper in Tcl::Tk but rather moving in = slightly > different direction, probably more convenient way from perspective of > creating widgets At the same time, it will be important for many to have the compatibility, and it is possible. This brings up an interesting point regarding the future structure of the Tcl::Tk code. Only the Tcl module has C (XS) code, the rest is all perl-based. The Tcl::Tk code already has multiple interface implementations. At ActiveState we have actually created another called Tcl::yTk, that is an even lower-level / stripped down binding. It would be nice to see each interface become distinct. This would make coding and supporting them easier. That means turning the existing compat stuff for Perl/Tk into a proper Tcl::pTk module. That would alleviate the funny compat stuff from the other code, while freeing up that module to focus on Perl/Tk support issues. > > 2. How does it behave wrt PAR, perl2exe, or PerlApp (ie, bundling > > into a single executable for distribution) ? Obviously, I'd need to > > bundle tcl + tcl/tk stuff into the executable; I'm wondering if > > Tcl::Tk will be able to find the tcl + tcl/tk pieces in that > > environment ? We use Tcl::Tk (and Tcl::yTk) in the ActiveState PDK UIs. Those are wrapped with PerlApp. At this point there is a bit of hand-crafting involved to do that. We are aware that users will want to wrap end apps, but first we need to focus on the actual use (making it available via PPM, foolproof CPAN builds, etc). As Vadim said, you can always move around the DLLs and runtime files with your app (for that most part, that "just works"), but that is understandably not ideal. > > 3. Much of the tcl.tk website seems to be undergoing repair...is > > there an alternate link to enumerate all available widgets ? The Tcl/Tk wiki (http://wiki.tcl.tk/) is a good reference. On the main tcl.tk site there are a lot of links that end up at the currently functionally disabled resource area. The main problem we were having was with URL spamming, so we took that part offline. In fact, looking at some other ref stuff this morning I saw that the Perl/Tk wiki was defaced as well (since corrected). Ah, it would be so much better to live in a world without spammers ... Jeff Hobbs, The Tk Guy http://www.ActiveState.com/, a division of Sophos |