NAME
Glib - Perl wrappers for the GLib utility and Object libraries
SYNOPSIS
use Glib;
blah blah blah
ABSTRACT
This module provides perl access to GLib and GLib's GObject libraries. GLib is a portability and utility library; GObject provides a generic type system with inheritance and a powerful signal system. Together these libraries are used as the foundation for many of the libraries that make up the Gnome environment, and are used in many unrelated projects.
DESCRIPTION
This wrapper attempts to provide a perlish interface while remaining as true as possible to the underlying C API, so that any reference materials you can find on using GLib may still apply to using the libraries from perl. Where GLib's functionality overlaps perl's, perl's is favored; for example, you will find perl lists and arrays in place of GSList or GList objects. Some concepts have been eliminated; you need never worry about reference-counting on GObjects or GBoxed structures. Other concepts have been converted to a perlish analogy; the GType id will never be seen in perl, as the package name serves that purpose. [FIXME link to a document describing this stuff in detail.]
This module also provides facilities for creating wrappers for other GObject-based libraries. [FIXME link to a developer's doc]
SEE ALSO
How to create your own gobject subclasses:
Glib::Objects::Subclass
Other PMs installed with this module:
Glib::PkgConfig - simple interface to pkg-config for developers
This module is the basis for the Gtk2 module, so most of the references you'll be able to find about this one are tied to that one. The perl interface aims to be very simply related to the C API, so see the C API reference documentation:
GLib - http://developer.gnome.org/doc/API/2.0/glib/
GObject - http://developer.gnome.org/doc/API/2.0/gobject/
For gtk2-perl itself, see its website at
gtk2-perl - http://gtk2-perl.sourceforge.net/
A mailing list exists for discussion of using gtk2-perl and related modules. Archives and subscription information is available at http://lists.gnome.org/.
AUTHORS
muppet, <scott at asofyet dot org>, who borrowed heavily from the work of Göran Thyni, <gthyni at kirra dot net> and Guillaume Cottenceau <gc at mandrakesoft dot com> on the first gtk2-perl module, and from the sourcecode of the original gtk-perl and pygtk projects. Marc Lehmann <pcg at goof dot com> did lots of great work on the magic of making Glib::Object wrapper and subclassing work like they should.
COPYRIGHT AND LICENSE
Copyright 2003 by muppet and the gtk2-perl team
This library is free software; you can redistribute it and/or modify it under the terms of the Lesser General Public License (LGPL). For more information, see http://www.fsf.org/licenses/lgpl.txt
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 103:
Non-ASCII character seen before =encoding in 'Göran'. Assuming UTF-8