Gtk2::VBox(3)
β¨ 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::AtkImplementorIfaceGtk2::BuildableGtk2::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 to0, 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 to5, 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:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::Box
π COPYRIGHT
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
- 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