Gtk2-Perl is a set of Perl bindings for Gtk+ 2.x and various related libraries. The Gtk2 toolkit is a popular X11 widget class library for the creation of GUI applications, cleanly and solidly designed, and written in C. It has since been ported to Win32, for which a binary distribution of Gtk2-Perl is also available.

Care has been taken to make sure that the bindings offer a familiar feel to Perl hackers - that they have that elusive quality described as "perlish". I can personally vouch for the success of the project in this regard; unlike with eg Perl/Tk, things work just as a seasoned Perl programmer would expect them to. Gtk2-Perl is no less than a joy to work with - my hat is off to Scott Arrington (aka muppet) and all of his crew.

This release marks an important milestone - it is the first with "real" documentation. Previously, you were referred to the C API documentation of Gtk2 with a set of rules about how names of classes, methods and so on are mapped in Perl. Now, full POD is autogenerated for the available classes.

Impatient folks can download the module distributions from the official Gtk2-Perl project homepage, all others can wait until the new release becomes available from the CPAN mirrors.

Win32 people with no own build environment will instead want to look for the Gtk2-Perl Win32 binaries Wayne Keenan kindly provided. They will probably also be interested in Gtk-Wimp, a Gtk theme that blends well into the Windows desktop environment.

Everyone loves screenshots; to get an idea of the possibilities, you can follow some links from the list of applications written using Gtk2-Perl. It is available on the links page of the project homepage. Win32 folks can find a few of those right on the Gtk2-Perl homepage.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Gtk2-Perl 1.020 released
by gri6507 (Deacon) on Dec 12, 2003 at 21:33 UTC
    Just out of curiosity, what don't you like about Perl/Tk?
      Perl/TK looks terrible IMHO

      Instantiating widgets by calling a factory method in its container-to-be is weird. Having widgets pack themselves is odd. Passing references and having the widgets update when the variable changes is strange. I get a distinct feeling of "ick" when working with Tk or reading Tk code.

      In Gtk2, you instantiate a widget by calling its class's constructor, pass it to its container to pack it, and use its accessor methods to change its state. This is how I expect responsibilities to be distributed in any sane class library.

      Makeshifts last the longest.