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.

Please report any bugs with gtk2-perl in one of the two bug trackers:

Feel free to discuss bugs/issues on the gtk-perl mailing list

News

Gtk2 1.243 available
Wed, 02 May 2012 by Brian Manning
Overview of changes in Gtk2 1.243: Hush a compiler warning; Avoid trying to re-register a GType for GConnectFlags. View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Gtk2/tag/?id=rel-1-24-3 or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Gtk2-1.243.tar.gz
Glib 1.253 (unstable) available
Wed, 02 May 2012 by Brian Manning
Overview of changes in Glib 1.253 (unstable): Add unit tests for the exportable constants; Export SOURCE_CONTINUE and SOURCE_REMOVE; Name an internal function appropriately; Create and register a GType for GConnectFlags. The latest stable release of Glib is 1.242. View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Glib/tag/?id=rel-1-25-3 or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Glib-1.253_001.tar.gz
Glib::Object::Introspection 0.008 available
Wed, 02 May 2012 by Brian Manning
Overview of changes in Glib::Object::Introspection 0.008: Do not use empty prototypes for constants subs; Use G_GSIZE_FORMAT instead of %d for printing a gtype; When looking up GTypes, also try by name; Add a global copyright statement. View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Glib-Object-Introspection/tag/?id=rel-0-00-8 or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Glib-Object-Introspection-0.008.tar.gz
ExtUtils::PkgConfig 1.13 available
Wed, 02 May 2012 by Brian Manning
Overview of Changes in 1.13: Correctly handle major-only versions, like '2' (RT#68246); Update the test output; Update the file manifests; Make git ignore generated files. View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-ExtUtils-PkgConfig/tag/?id=rel-1-13 or download the source release at: http://downloads.sourceforge.net/gtk2-perl/ExtUtils-PkgConfig-1.13.tar.gz
Cairo 1.091 (unstable) available
Wed, 02 May 2012 by Brian Manning
Overview of changes in Cairo 1.091 (unstable); Fix compiling and testing against older versions of cairo; Make t/CairoPath.t more robust; Auto-upgrade strings to utf8 (RT#73177). View the source in the Gtk2-Perl git repo at http://git.gnome.org/browse/perl-Cairo/tag/?id=rel-1-09-1 or download the source release at http://downloads.sourceforge.net/gtk2-perl/Cairo-1.091_001.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