Gtk2::HBox(3)
π NAME π
Gtk2::HBox β bestie, it's literally just a lil wrapper around GtkHBox π
This page lives in the User Contributed Perl Documentation section, and honestly? iconic of it.
π HIERARCHY π
okay so the family tree goes crazy, look:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
+----Gtk2::HBox
it's giving "six generations deep and every single one of them ate" π
π¦ INTERFACES π¦
these are the vibes it carries with it, no cap:
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Orientable
β¨ METHODS β¨
π
widget = Gtk2::HBox->new ($homogeneous=0, $spacing=5)
the main character constructor fr fr. two lil args, both optional, both with defaults already set for you π«Ά
$homogeneous(boolean) β defaults to0. yep, just a yes/no situation.$spacing(integer) β defaults to5. a whole number, bestie, don't get cute with it.
π SEE ALSO π
go read these next, iykyk:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::Box
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team. periodt.
This software is licensed under the LGPL. See Gtk2 for a full notice β like, the whole notice, not the cliffnotes version.
and that's the tea, bestie πβ¨ this was page Gtk2::HBox(3) from perl v5.42.0, dated 2025-07-25 β tysm for reading, mwah πππ¦
π¦ 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