Gtk2::C...rPixbuf(3)

πŸ“¦
version 1.24993 Β· 2 versions
, in fedora 43

πŸ’– 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) β€” the GIcon being 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) β€” the GtkIconSize value that specifies the size of the rendered icon. note the default is 1, not zero, don't come for me 🌈

πŸ”₯ SEE ALSO πŸ”₯

go read these next, bestie, they're all part of the lore:

  • Gtk2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::CellRenderer

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