gtk2-perl

About GNOME · Users · Developers · Bindings

Intro

gtk2-perl is the collective name for a set of perl bindings for Gtk+ 2.x and various related libraries. These modules make it easy to write Gtk and Gnome applications using a natural, perlish, object-oriented syntax.

Our documentation isn't what we'd like it to be, so don't code in a vacuum. For best results, discuss gtk2-perl with the authors on the gtk-perl mailing list, or in #gtk-perl on irc.gnome.org. If you're interested in helping us write documentation (reference, tutorials, HowTo's), join the list and let us know.

News

Updated Gtk2-Perl docs available
Sat, 19 Dec 2009 by Brian Manning
Updated Gtk2-Perl documentation is now available at http://gtk2-perl.sourceforge.net/doc/. Note that there are now two different sets of documentation posted, a set generated with Marek::Pod::HTML (what's been posted on the website previously, but with some stylesheet tweaks) and another set created with Pod::ProjectDocs. Both sets can be viewed online or downloaded by browsing the Gtk2-Perl documentation page (http://gtk2-perl.sourceforge.net/doc/). Going forward, the plan is to keep the Marek::Pod::HTML-style documentation as the "official" documentation, and then move towards making all of the documentation available via the CPAN website instead of on the Gtk2-Perl website.
Pango 1.221 available
Tue, 11 Aug 2009 by Brian Manning
Changes in this release: Properly export all our public symbols so that linking against us works on MSWin32. (GNOME #576373) View the GIT repo at http://git.gnome.org/cgit/perl-Pango/ or download source at http://downloads.sourceforge.net/project/gtk2-perl/Pango/1.221/Pango-1.221.tar.gz
Gtk2 1.221 available
Wed, 22 Jul 2009 by Brian Manning
Changes in this release: Properly wrap the binding for gtk_binding_entry_skip in version guards. Fix some build and test failures. View the GIT repo at: http://git.gnome.org/cgit/perl-Gtk2/, or download the source at: http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-1.221.tar.gz
Glib 1.222 available
Wed, 22 Jul 2009 by Brian Manning
Changes in this release: Properly handle slashes in copyright footers passed to Glib::MakeHelper; Fix a test failure on s390. View the GIT repo at: http://git.gnome.org/cgit/perl-Glib/, or download the source at: http://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-1.222.tar.gz
ExtUtils::Depends 0.302 available
Wed, 22 Jul 2009 by Brian Manning
Changes in this release: Create import libraries if necessary to fix linking when gcc is used on MSWin32 (Strawberry Perl, for example). View the GIT repo at: http://git.gnome.org/cgit/perl-ExtUtils-Depends/, or download the source at: http://downloads.sourceforge.net/sourceforge/gtk2-perl/ExtUtils-Depends-0.302.tar.gz

All news items

(the above stories are the top headlines from the project's sourceforge rss feed. you can still see the old, hand-maintained news items if you are looking for something that's no longer here.)

Modules

Module NameDescription
ExtUtils::Depends (CPAN)Paolo Molaro's excellent utility from the original gtk-perl project
ExtUtils::PkgConfig (CPAN)A super-simplistic front-end to pkg-config for Makefile.PLs
Glibwrappers for glib 2.x, including GObject, and a PkgConfig utility
Gtk2gtk+ 2.x (including Gdk, Pango, Cairo, and Atk), plus some tools to make wrapping GObject-based libraries eaiser
Gnome2::Canvaslibgnomecanvas 2.x and libart
Gnome2libgnome 2.x and libgnomeui 2.x
Gtk2::GladeXMLlibglade 2.x
Gnome2::GConfthe GConf configuration database
Gnome2::Printlibgnomeprint and libgnomeprintui 2.2
Gnome2::VFSthe Gnome Virtual File System
Gnome2::Vtethe Gnome Virtual Terminal Emulator
Gnome2::Wnckthe Window Navigator Construction Kit
Gnome2::Rsvgthe RSVG library
Gtk2::MozEmbedthe Mozilla embedding widget
Gtk2::SourceViewthe GtkSourceView widget
GStreamerthe GStreamer library