Gtk2::HScrollbar(3)

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

πŸ’– Gtk2::HScrollbar

okay bestie, so this page is Gtk2::HScrollbar(3), and it's part of the User Contributed Perl Documentation situation. It's literally just a lil wrapper β€” a glow-up shell β€” around GtkHScrollbar. That's the whole job. Horizontal scrollbar, but make it Perl. ✨


🌈 HIERARCHY

the family tree, no cuts, no edits, everybody's invited:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Range
                      +----Gtk2::Scrollbar
                           +----Gtk2::HScrollbar

so it's giving six generations deep and every single ancestor passed down the genes. πŸ’…


πŸ¦‹ INTERFACES

the vibes it also carries, i.e. the roles it's cosplaying as:

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

πŸŽ€ METHODS

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

  • $adjustment β€” a Gtk2::Adjustment, or undef if you're feeling mysterious and want to let it do its own thing. πŸ’«

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

  • $adjustment β€” same deal, a Gtk2::Adjustment or undef.
okay so storytime πŸ“– β€” a typo from days long past meant the package names for Gtk2::HScrollbar and Gtk2::VScrollbar got misspelled with a capital "B". and like... only the proper name (the one with the small "b") actually got registered with the Glib type system. but for backward compatibility with Gtk2-1.00, calling Gtk2::HScrollBar->new just quietly calls Gtk2::HScrollbar->new instead, no complaints, no drama, no error message. the typo is basically legacy code now. it ate. πŸ‘‘

πŸ‘€ SEE ALSO

go read these next, bestie, they're the whole 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. 🫢


and that's the whole page, periodt. πŸ’œ this doc was served up by perl v5.42.0, dated 2025-07-25, filed under Gtk2::HScrollbar(3). ty for coming to my ted talk, mwah πŸŽ€πŸ’–

πŸ“¦ where this page comes from