Gtk2::C...rPixbuf(3)
π Gtk2::C...rPixbuf β bestie edition π
okay so real talk, this is the page for Gtk2::CellRendererPixbuf from the User Contributed Perl Documentation manual, and it's literally just a wrapper for GtkCellRendererPixbuf. that's it, that's the whole vibe. tiny page, big energy, let's go π
πΈ HIERARCHY πΈ
the family tree, and yes she comes from a long line of icons, we respect the lineage:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::CellRenderer
+----Gtk2::CellRendererPixbuf
β¨ METHODS β¨
just one, and she's lowkey perfect:
cellrenderer = Gtk2::CellRendererPixbuf->newβ makes you a brand new one. that's the method. that's all she wrote. iconic behavior honestly π
π PROPERTIES π
here's the full roster, no skips, no skimming, we're covering every single one because details are the moment:
'follow-state'(boolean : default false : readable / writable / private / static-nick / static-blurb) β whether the rendered pixbuf should be colorized according to the state. yes bestie, she can match the mood π'gicon'(Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private / static-nick / static-blurb) β theGIconbeing displayed π¦'icon-name'(string : default undef : readable / writable / private / static-nick / static-blurb) β the name of the icon from the icon theme. so like, the icon's government name β¨'pixbuf'(Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb) β the pixbuf to render. the main character, literally π«Ά'pixbuf-expander-closed'(Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb) β pixbuf for closed expander π'pixbuf-expander-open'(Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb) β pixbuf for open expander. her sister, also slaying πΈ'stock-detail'(string : default undef : readable / writable / private / static-nick / static-blurb) β render detail to pass to the theme engine π'stock-id'(string : default undef : readable / writable / private / static-nick / static-blurb) β the stock ID of the stock icon to render π'stock-size'(Glib::UInt : default 1 : readable / writable / private / static-nick / static-blurb) β theGtkIconSizevalue that specifies the size of the rendered icon. note the default is1, not zero, don't come for me π
π₯ SEE ALSO π₯
go read these next, bestie, they're all part of the lore:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::CellRenderer
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
ngl the license part is the "eat your vegetables" of the manpage but it MATTERS, so don't skip it π
and that's the whole page!! shoutout to perl v5.42.0, dated 2025-07-25, the version that carried this icon-rendering excellence to your terminal. mwah, periodt πβ¨
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms