Gtk2::VScale(3)

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

πŸ’– Gtk2::VScale β€” the vertical slider bestie πŸ’–

ok so this is Gtk2::VScale, which is literally just the Perl wrapper for GtkVScale. that's it. that's the whole vibe. it's the lil slider that goes up and down instead of side to side πŸ¦‹

this page lives in the User Contributed Perl Documentation section, so you know it's the real ones writing it πŸ’…


🌈 HIERARCHY

here's 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::VScale

so like, five generations of slay before we even get to her 😭 she inherited everything from Gtk2::Scale and Gtk2::Range, so go read those pages if you wanna know what she can actually do.


✨ INTERFACES ✨

she also implements these, for the people keeping track:

  • Glib::Object::_Unregistered::AtkImplementorIface
  • Gtk2::Buildable
  • Gtk2::Orientable

accessibility? buildable? orientable? she contains multitudes fr fr πŸŽ€


🌸 METHODS 🌸

widget = Gtk2::VScale->new ($adjustment=undef)

makes you a brand new vertical scale, no cap.

  • $adjustment β€” a Gtk2::Adjustment, or undef. that's the default, undef, so you can literally just not pass anything and she'll handle it 🫢

widget = Gtk2::VScale->new_with_range ($min, $max, $step)

same energy but you get to set the range right at birth. all three are doubles, bestie, don't come at me with integers and expect me not to notice πŸ’€

  • $min β€” a double
  • $max β€” a double
  • $step β€” a double

πŸ‘€ SEE ALSO πŸ‘€

go read these next, they're the supporting cast and honestly they ate:

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.


and that's the whole page, bestie πŸ’… this was perl v5.42.0, dated 2025-07-25, and it's Gtk2::VScale(3) β€” vertical slider supremacy, periodt πŸ‘‘βœ¨

πŸ“¦ where this page comes from