Gnome2:...:Pixbuf(3)
β¨ Gnome2::Canvas::Pixbuf β pixbufs as CanvasItems β¨
okay bestie, welcome to Gnome2::Canvas::Pixbuf π it's part of the User Contributed Perl Documentation collection, and it's literally just here to let you drop a pixbuf onto a canvas as a CanvasItem. cute, right? π
πΈ NAME πΈ
Gnome2::Canvas::Pixbuf β Pixbufs as CanvasItems πΌοΈβ¨
π¦ HIERARCHY π¦
the family tree, bestie. your girl did NOT come from nowhere:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gnome2::Canvas::Item
+----Gnome2::Canvas::Pixbuf
so she's a Glib::Object, she's InitiallyUnowned, she's a Gtk2::Object, and she's a Gnome2::Canvas::Item. generational wealth fr fr π
π PROPERTIES π
every single one of these is readable / writable, no gatekeeping here:
'anchor'(Gtk2::AnchorType: default"north-west": readable / writable) β where the pixbuf hooks onto its position. defaults tonorth-west, so top-left energy unless you say otherwise π§'height'(double: default0: readable / writable) β the height, as adouble. starts at0'height-in-pixels'(boolean: defaultfalse: readable / writable) β is that height measured in pixels or nah? defaults tofalseπ'height-set'(boolean: defaultfalse: readable / writable) β has the height even been set? defaults tofalse'pixbuf'(Gtk2::Gdk::Pixbuf: defaultundef: readable / writable) β the actual pixbuf, the whole point, the main character. default isundefπ'width'(double: default0: readable / writable) β the width, as adouble. starts at0'width-in-pixels'(boolean: defaultfalse: readable / writable) β pixels or not, bestie? defaults tofalse'width-set'(boolean: defaultfalse: readable / writable) β has the width been set? defaults tofalse'x'(double: default0: readable / writable) β the x coordinate,double, defaults to0π'x-in-pixels'(boolean: defaultfalse: readable / writable) β is x in pixels? defaults tofalse'y'(double: default0: readable / writable) β the y coordinate,double, defaults to0π'y-in-pixels'(boolean: defaultfalse: readable / writable) β is y in pixels? defaults tofalse
π ENUMS AND FLAGS π
π enum Gtk2::AnchorType π
all the places you can anchor to. every one of them, no skips, periodt:
'center'/'GTK_ANCHOR_CENTER''north'/'GTK_ANCHOR_NORTH''north-west'/'GTK_ANCHOR_NORTH_WEST''north-east'/'GTK_ANCHOR_NORTH_EAST''south'/'GTK_ANCHOR_SOUTH''south-west'/'GTK_ANCHOR_SOUTH_WEST''south-east'/'GTK_ANCHOR_SOUTH_EAST''west'/'GTK_ANCHOR_WEST''east'/'GTK_ANCHOR_EAST''n'/'GTK_ANCHOR_N''nw'/'GTK_ANCHOR_NW''ne'/'GTK_ANCHOR_NE''s'/'GTK_ANCHOR_S''sw'/'GTK_ANCHOR_SW''se'/'GTK_ANCHOR_SE''w'/'GTK_ANCHOR_W''e'/'GTK_ANCHOR_E'
iykyk, the short ones are just the long ones with the vowels cut out π slay
π«Ά SEE ALSO π«Ά
go read these too, they're all in the group chat:
Gnome2::CanvasGlib::ObjectGlib::InitiallyUnownedGtk2::ObjectGnome2::Canvas::Item
π COPYRIGHT π
Copyright (C) 2003-2004 by the Gtk2-Perl Team.
This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.
okay that's the whole page bestie, you ate that π this was perl v5.42.0, dated 2025-07-25, and it's the Gnome2:...:Pixbuf(3) page β go make something gorgeous with it, ily πβ¨
π¦ where this page comes from
- fedora 43: perl-Gnome2-Canvas 1.006-18.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms