Gtk2::VBox(3)

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

✨ Gtk2::VBox β€” okay bestie, let's talk vertical boxes ✨

So this is the perl manual page for Gtk2::VBox, and it's basically a lil wrapper around GtkVBox πŸ’– (that's the manual name, it lives at Gtk2::VBox(3), and yes it's from the User Contributed Perl Documentation corner of the universe, we love her).


🌈 HIERARCHY

It's giving royalty, fr fr β€” look at this family tree, every single ancestor is here:

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Box
                         +----Gtk2::VBox

Six levels deep and still slaying πŸ’…


πŸ¦‹ INTERFACES

She doesn't just inherit, she also does these, iconic behavior:

  • Glib::Object::_Unregistered::AtkImplementorIface
  • Gtk2::Buildable
  • Gtk2::Orientable

πŸŽ€ METHODS

widget = Gtk2::VBox->new ($homogeneous=0, $spacing=5)

The one and only constructor, and here's what you can hand her:

  • $homogeneous (boolean) β€” defaults to 0, meaning the children get to be their own size instead of all matching. Flip it if you want them all matching, bestie.
  • $spacing (integer) β€” defaults to 5, that's the lil gap between your kids. Personal space matters 🫢

πŸ‘€ SEE ALSO

Go read these too, no cap, they're the whole friend group:

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

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

This software is licensed under the LGPL. See Gtk2 for a full notice. (Legal said keep it exact, so I did, periodt ✨)


Okay that's the whole page! This one came from perl v5.42.0, dated 2025-07-25 β€” so like, it's the Gtk2::VBox(3) page, and now you know her πŸ’– bye bestie, go build something vertical 🌸

πŸ“¦ where this page comes from