Gtk2::VScrollbar(3)

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

πŸ’– 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 β€” a Gtk2::Adjustment, or undef if you're feeling mysterious 🌈

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

  • $adjustment β€” a Gtk2::Adjustment, or undef, same deal, same energy πŸ’–
not me explaining the capital B... 😭 so basically, a typo in days long past resulted in the package names for Gtk2::VScrollbar and Gtk2::HScrollbar being 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 with Gtk2-1.00, Gtk2::VScrollBar->new calls Gtk2::VScrollbar->new without complaint. it's giving legacy code that refuses to die and honestly? respect πŸ™ˆ

πŸ’€ SEE ALSO πŸ’€

go read these too, they're the friend group:

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

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