Gtk2::HScale(3)
β¨ NAME β¨
ok so this is Gtk2::HScale β bestie, it's literally just a wrapper for GtkHScale π
that's it, that's the whole thing, it's giving "horizontal slider, but make it Perl"
π¦ HIERARCHY π¦
the family tree, and yes she comes from a long line of icons π
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Range
+----Gtk2::Scale
+----Gtk2::HScale
so like, six generations deep. main character energy fr fr π
πΈ INTERFACES πΈ
she also implements these, no cap:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable
π METHODS π
widget = Gtk2::HScale->new ($adjustment=undef)
$adjustment(Gtk2::Adjustment orundef) β pass in an adjustment if you have one, or just don't, because it's literally optional (undefis the default, we love a low-effort queen)
widget = Gtk2::HScale->new_with_range ($min, $max, $step)
the "just tell me the numbers and go" constructor π«Ά
$min(double)$max(double)$step(double)
π SEE ALSO π
go read these too bestie, iykyk:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::RangeGtk2::Scale
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice. (legal stuff, but make it slay βοΈβ¨)
ok that's the whole page, you ate that π this doc shipped as part of perl v5.42.0, dated 2025-07-25, filed under User Contributed Perl Documentation β mwah, go build something cute ππ
π¦ 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