1Cairo::GObject(3) User Contributed Perl Documentation Cairo::GObject(3)
2
3
4
6 Cairo::GObject - Integrate Cairo into the Glib type system
7
9 use Cairo::GObject;
10
11 # Cairo and Glib are now loaded and the Cairo types are registered with
12 # Glib's type machinery. This allows you to correctly use Cairo types
13 # in signals and properties.
14
16 Cairo::GObject registers Cairo's types ("Cairo::Context",
17 "Cairo::Surface", etc.) with Glib's type systems so that they can be
18 used normally in signals and properties. If you have encountered an
19 error akin to this:
20
21 GType CairoContext (15497280) is not registered with gperl
22
23 -- then you need to use Cairo::GObject.
24
26 Torsten Schoenfeld <kaffeetisch at gmx dot de>
27
29 Copyright (C) 2011 by the cairo perl team
30
31
32
33perl v5.30.0 2019-09-03 Cairo::GObject(3)