Gtk2::Bin(3)

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

πŸ’– Gtk2::Bin β€” the manual page, but make it make sense

okay bestie, sit down, hydrate, and let me tell you about Gtk2::Bin ✨ this is the Perl wrapper for GtkBin, and honestly? it's the blueprint. the blueprint of blueprints. every widget that holds exactly one little baby widget inside it is riding on this energy πŸŽ€

it's section 3 of the manual, so like… library functions, programmer-core. iykyk 🫢


🌸 HIERARCHY

here's the family tree, and no we are not skipping a single branch, that would be disrespectful to the ancestors 😀

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin

look at that lineage. Glib::Object at the very top being the original main character, then Glib::InitiallyUnowned, then Gtk2::Object, Gtk2::Widget, Gtk2::Container, and then our girl Gtk2::Bin at the bottom, collecting every single trait on the way down like a nepo baby who is also genuinely talented πŸ’…


πŸ¦‹ INTERFACES

she's got range, she's multi-faceted, she implements:

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

that's the accessibility interface vibe and the Gtk2::Buildable vibe. an icon, fr fr πŸ‘‘


✨ METHODS

only two, because she knows what she's about. no filler, no fluff, just vibes and a child πŸ“

  • widget = $bin->child β€” gets you the child widget chilling inside the bin. yes, that's the whole thing. yes, it's that simple. slay.
  • widget = $bin->get_child β€” literally the same energy, just the get_-prefixed spelling. use whichever one feels right in your soul 🌈

πŸ‘€ SEE ALSO

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

  • Gtk2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::Widget
  • Gtk2::Container

Copyright (C) 2003-2011 by the gtk2-perl team.

this software is licensed under the LGPL. for the full legal tea, go check out Gtk2. that's where the whole notice lives, no cap 🫢


and that's the page!! you now know everything Gtk2::Bin has to offer, which is: a child, a way to get that child, a truly stunning family tree, two interfaces, and a license 🌸

this was documented for perl v5.42.0, dated 2025-07-25, in Gtk2::Bin(3) β€” user contributed Perl documentation, because the community said "we got this" and honestly? they ate πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from