Gtk2::VScrollbar(3)
π Gtk2::VScrollbar β bestie edition π
okay so you're reading the Gtk2::VScrollbar(3) page, from the User Contributed Perl Documentation collection, and honestly? it's a short one, so let's just vibe through it together π«Ά
β¨ NAME β¨
Gtk2::VScrollbar β it's a wrapper for GtkVScrollbar. that's it. that's the whole thing. a little shim, a little bestie, a little icon π
πΈ HIERARCHY πΈ
so here's the family tree, and yes we're doing the whole ancestry moment, no skipping generations:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Range
+----Gtk2::Scrollbar
+----Gtk2::VScrollbar
like... the way Gtk2::VScrollbar is a Gtk2::Scrollbar is a Gtk2::Range is a Gtk2::Widget is a Gtk2::Object is a Glib::InitiallyUnowned is a Glib::Object?? generational wealth, fr fr π
π¦ INTERFACES π¦
these are the interfaces it implements, periodt:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable
look at her. buildable. orientable. multi-talented. main character energy only π
π METHODS π
β¨ widget = Gtk2::VScrollbar->new ($adjustment=undef)
$adjustmentβ aGtk2::Adjustment, orundefif you're feeling mysterious π
β¨ widget = Gtk2::VScrollBar->new ($adjustment=undef)
$adjustmentβ aGtk2::Adjustment, orundef, same deal, same energy π
not me explaining the capital B... π so basically, a typo in days long past resulted in the package names forGtk2::VScrollbarandGtk2::HScrollbarbeing misspelled with a capital"B", despite the fact that only the proper name (with the small"b") was actually registered with the Glib type system. for backward compatibility withGtk2-1.00,Gtk2::VScrollBar->newcallsGtk2::VScrollbar->newwithout complaint. it's giving legacy code that refuses to die and honestly? respect π
π SEE ALSO π
go read these too, they're the friend group:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::RangeGtk2::Scrollbar
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice. read the license bestie, it's the rules π
and that's the whole page!! written by the perl v5.42.0 girlies on 2025-07-25, 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