Gtk2::HScale(3)

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

✨ 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 or undef) β€” pass in an adjustment if you have one, or just don't, because it's literally optional (undef is 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:

  • Gtk2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::Widget
  • Gtk2::Range
  • Gtk2::Scale

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