Cairo::GObject(3)

πŸŽ€ NAME πŸŽ€

Cairo::GObject β€” Integrate Cairo into the Glib type system. Also yes bestie, this is a Cairo::GObject(3) page, and it's User Contributed Perl Documentation. 🫢

✨ SYNOPSIS ✨

okay so literally all you need is:

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.

That's it. That's the whole vibe. πŸ’…

πŸ¦‹ ABSTRACT πŸ¦‹

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've encountered an error akin to this:

GType CairoContext (15497280) is not registered with gperl

then you need to use Cairo::GObject. no cap. That error is your sign from the universe. 😭

πŸ’œ AUTHORS πŸ’œ

Torsten Schoenfeld <kaffeetisch at gmx dot de> β€” iconic, honestly.

Copyright (C) 2011 by the cairo perl team


okay bye bestie 🫢 this was perl v5.42.0, dated 2019-08-29, and the page is Cairo::GObject(3). periodt πŸ’–