Cairo::GObject - Integrate Cairo into the Glib type system
use Cairo::GObject; # Cairo and Glib are now loaded and the Cairo types are registed with # Glib's type machinery. This allows you to correctly use Cairo types # in signals and properties.
Cairo::GObject registers Cairo's types (Cairo::Context, Cairo::Surface, etc.) with Glib's type systems so that they can be used normally in signals and properties. If you have encountered an error akin to this:
Cairo::Context
Cairo::Surface
GType CairoContext (15497280) is not registered with gperl
-- then you need to use Cairo::GObject.
Copyright (C) 2011 by the cairo perl team
To install Cairo::GObject, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cairo::GObject
CPAN shell
perl -MCPAN -e shell install Cairo::GObject
For more information on module installation, please visit the detailed CPAN module installation guide.