Gtk2::G...:Scroll(3)

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

✨ NAME ✨

okay so bestie, gather round, the page is Gtk2::G...:Scroll(3) from the User Contributed Perl Documentation, and the actual star of the show is Gtk2::Gdk::Event::Scroll πŸ’–

it's the scroll event class. that's the whole vibe. let's go πŸŽ€


πŸ¦‹ HIERARCHY πŸ¦‹

here's the family tree, it's giving royal lineage ngl:

Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::Scroll

so Gtk2::Gdk::Event::Scroll descends from Gtk2::Gdk::Event. main character energy inheriting from main character energy, we love to see it πŸ‘‘


πŸ’… METHODS πŸ’…

device β€” device or undef = $eventscroll->device ($newvalue=undef)

  • $newvalue β€” it's a Gtk2::Gdk::Device or undef, and if you don't hand it one it just chills at undef πŸ’–

direction β€” scrolldirection = $eventscroll->direction ($newvalue=0)

  • $newvalue β€” a Gtk2::Gdk::ScrollDirection, defaults to 0 ✨

x β€” double = $event->x ($newvalue=0.0)

  • $newvalue β€” a double, defaults to 0.0 πŸŽ€

y β€” double = $event->y ($newvalue=0.0)

  • $newvalue β€” a double, defaults to 0.0 πŸ¦‹

🌈 ENUMS AND FLAGS 🌈

enum Gtk2::Gdk::ScrollDirection

the direction options, one bullet each, no skips, we keep it thorough fr fr:

  • 'up' / 'GDK_SCROLL_UP' β€” up ⬆️
  • 'down' / 'GDK_SCROLL_DOWN' β€” down ⬇️
  • 'left' / 'GDK_SCROLL_LEFT' β€” left ⬅️
  • 'right' / 'GDK_SCROLL_RIGHT' β€” right ➑️

πŸ‘€ SEE ALSO πŸ‘€

  • Gtk2 β€” go say hi to the parent module, she knows things 🫢

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 babes 🌸 this one came to you via perl v5.42.0, dated 2025-07-25, and yeah the header/footer keep calling it Gtk2::G...:Scroll(3) because the terminal was being dramatic with the truncation πŸ’€ slay, go scroll something, ily πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from