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

ExtUtils::Depends 0.401 available
Sat, 23 Aug 2014 by Brian Manning

Overview of changes in ExtUtils::Depends 0.401 [2014-08-23]:Add README changes created by 'make dist' from the POD; Rename test modules; Test old/new schemes with .pm files; Move old/new scheme tests from middle of other stuff to end; Rename test packages to 8.3 unique. The above changes should take care of RT#97922, as reported by kmx. Thanks to Ed J for the changes. ExtUtils::Depends is available as a tarball http://downloads.sourceforge.net/gtk2-perl/ExtUtils-Depends-0.401.tar.gz (http://bit.ly/1AGgJKb) or from git https://git.gnome.org/browse/perl-ExtUtils-Depends/tag/?id=rel-0-401 (http://bit.ly/1zgnFLv)

ExtUtils::Depends 0.400 available
Sat, 23 Aug 2014 by Brian Manning

Overview of changes in ExtUtils::Depends 0.400 [2014-08-10]: In addition to the package variables $inc, $libs and @typemaps, write an 'Inline' method to <package>::Install::Files for easier interoperability with the Inline module; Accompany the 'Inline' method with a 'deps' method in <package>::Install::Files in addition to the @deps package variable; Make ExtUtils::Depends->load use the 'Inline' and 'deps' methods by default, falling back to the package variables if the methods are not defined; Make the docs recommend the 'Inline' and 'deps' approach for creating <package>::Install::Files manually, without ExtUtils::Depends::save_config. ExtUtils::Depends is available as a tarball http://downloads.sourceforge.net/gtk2-perl/ExtUtils-Depends-0.400.tar.gz or from git https://git.gnome.org/browse/perl-ExtUtils-Depends/tag/?id=rel-0-400

ExtUtils::Depends 0.309 available
Sat, 23 Aug 2014 by Brian Manning

Overview of changes in ExtUtils::Depends 0.309 [2014-08-02]: Depends.pm: use $DLEXT instead of $SO for library filename extensions (RT#92699 and RT#94515); MANIFEST: remove MYMETA.* files; Use DynaLoader::mod2fname if available (RT#92699); Added Android support (RT#92699). Thanks to Brian Fraiser and kmx for the patches and testing! ExtUtils::Depends is available as a tarball http://downloads.sourceforge.net/gtk2-perl/ExtUtils-Depends-0.309.tar.gz (http://bit.ly/1tHNohe) or from git: https://git.gnome.org/browse/perl-ExtUtils-Depends/tag/?id=rel-0-309 (http://bit.ly/1sh3Bbk)

Gtk2 1.2492 (stable) available
Sat, 23 Aug 2014 by Brian Manning

Overview of changes in Gtk2 1.2491 (stable) [2014-04-29]: Fix compatibility with perl 5.20 and non-dot locales; Disable some tests that are known to behave erratically in certain environments. Thanks to Colin Watson for the bug report and fix. View the source in the Gtk2-Perl git repo at http://git.gnome.org/browse/perl-Gtk2/tag/?id=rel-1-24-92 (http://bit.ly/1vzwspQ) or download the source release at http://downloads.sourceforge.net/gtk2-perl/Gtk2-1.2492.tar.gz (http://bit.ly/1oqAxvp)

Glib::Object::Introspection 0.024 available
Sat, 23 Aug 2014 by Brian Manning

Overview of changes in Glib::Object::Introspection 0.024 [2014-07-02]: Fix a stack handling bug for Perl vfuncs. View the source in the Gtk2-Perl git repo at http://git.gnome.org/browse/perl-Glib-Object-Introspection/tag/?id=rel-0-02-4 (http://bit.ly/TQBJxk) or download the source release at http://downloads.sourceforge.net/gtk2-perl/Glib-Object-Introspection-0.024.tar.gz (http://bit.ly/1qpiozR)

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 (MetaCPAN)Paolo Molaro's excellent utility from the original gtk-perl project
ExtUtils::PkgConfig (MetaCPAN)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
Gtk3 (MetaCPAN)gtk+ 3.x. This module allows you to write graphical user interfaces in a Perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API.
Glib::Object::Introspection (MetaCPAN)Uses the gobject-introspection and libffi projects to dynamically create Perl bindings for a wide variety of libraries. Examples include gtk+, webkit, libsoup and many more.
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