Home

Cairo::GObject(3pm)

Cairo::GObject(3pm)User Contributed Perl DocumentationCairo::GObject(3pm)

Cairo::GObject - Integrate Cairo into the Glib type system

  use Cairo::GObject;  # Cairo and Glib are now loaded and the Cairo types are registered 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:

  GType CairoContext (15497280) is not registered with gperl

-- then you need to use Cairo::GObject.

Copyright (C) 2011 by the cairo perl team

2022-11-19perl v5.36.0