Gtk2::Scrollbar(3)

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

πŸ’– Gtk2::Scrollbar

okay bestie, so this is the manual page for Gtk2::Scrollbar, from the User Contributed Perl Documentation corner of the world. It's the Perl wrapper for GtkScrollbar β€” yes, the thing you drag around to scroll through your timeline, but make it Perl. iconic.


✨ NAME ✨

Gtk2::Scrollbar β€” it's literally just a wrapper for GtkScrollbar. that's the whole job. slay.


🌸 HIERARCHY 🌸

the family tree, and no we're not skipping a single branch, the whole lineage matters:

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

see how deep that goes? Gtk2::Scrollbar is the baby of the family, inheriting from Gtk2::Range, which comes from Gtk2::Widget, which comes from Gtk2::Object, which comes from Glib::InitiallyUnowned, which comes from Glib::Object. generational excellence fr fr πŸ’…


πŸ¦‹ INTERFACES πŸ¦‹

these are the vibes it carries with it, the little certifications:

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

so it's Buildable, it's Orientable, and it's got that AtkImplementorIface thing going on. well-rounded queen πŸ‘‘


πŸŽ€ STYLE PROPERTIES πŸŽ€

these are the knobs and dials you can twiddle, and every single one has the same permission list β€” readable / private / static-nick / static-blurb β€” so clock that: you can read them, they're private, and they come with static nicks and blurbs. no cap.

  • 'fixed-slider-length' (boolean : default false : readable / private / static-nick / static-blurb) β€” do NOT change the slider size. just lock it to the minimum length and leave it be. it's giving "don't touch my hair" energy.
  • 'has-backward-stepper' (boolean : default true : readable / private / static-nick / static-blurb) β€” show the standard backward arrow button. it's on by default, as it should be.
  • 'has-forward-stepper' (boolean : default true : readable / private / static-nick / static-blurb) β€” show the standard forward arrow button. also on by default. balance. harmony. 🧚
  • 'has-secondary-backward-stepper' (boolean : default false : readable / private / static-nick / static-blurb) β€” this one puts a second backward arrow button on the opposite end of the scrollbar. extra? yes. off by default? also yes.
  • 'has-secondary-forward-stepper' (boolean : default false : readable / private / static-nick / static-blurb) β€” and this puts a second forward arrow button on the opposite end of the scrollbar. matching set energy ✨
  • 'min-slider-length' (integer : default 21 : readable / private / static-nick / static-blurb) β€” the minimum length of the scrollbar slider. default is 21. that's the floor, bestie, don't go below it.

πŸ‘€ SEE ALSO πŸ‘€

go read these next, they're all in the same friend group:

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

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice. (yes, actually go read it, it's important, i'm not just saying that 😭)


and that's the whole page, bestie!! this doc shipped as part of perl v5.42.0, dated 2025-07-25, and it lives at Gtk2::Scrollbar(3). mwah, take care of your scrollbars, they work hard 🫢🌸

πŸ“¦ where this page comes from