in reply to Perl TK

What are the advantages to using Tkx over Perl Tk?

The only advantage I see is ActiveState is behind it, and will probably do a better job of fixing bugs and adding new features.

But the plain old Tk is NOT dead, and does have some advantages, in that there is a huge base of code already out there ready to google for examples, it is easy to learn, and it is relatively stable. The Tk::Zinc module alone makes it worth knowing Tk, as it is probably the best canvas out there.

In my opinion, if you want to choose a good GUI toolkit that has a bright future, and is actively developed ( many new modules for modern applications, like GTK webkit and GStreamer), go with Gtk2. If you like the OO approach, use WxWidgets, which on most systems is an OO layer on top of Gtk2.

Finally ask yourself this: If ActiveState suddenly drops Tkx, where will you be? With plain old Tk, it will always be on CPAN.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Perl TK
by aplonis (Pilgrim) on Oct 16, 2010 at 17:07 UTC

    Okay, assume you have inspired me to look into GTK2 as my brighter future for migrating away from Tk. Will I be able to build a stand-alone *.exe using PAR from my Perl app employing GTK2?

    That's kind of important to me. I myself use the script. But for giving things away to non-Perl folks stuck with Windoze, nothing satisfies like a stand-alone exe.

      I don't build stand alone executables, but Cava has had good reports. I would suggest getting their free version, and go thru one of the Gtk2 tutorials, like at Novell's Gtk2 tutorial and see how well Cava packages your tutorial scripts.

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh