Scroll to navigation

Cairo::GObject(3pm) User Contributed Perl Documentation Cairo::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.


Torsten Schoenfeld <kaffeetisch at gmx dot de>


Copyright (C) 2011 by the cairo perl team
2019-10-06 perl v5.30.0