Gtk2::G...:Scroll(3)
β¨ 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 aGtk2::Gdk::Deviceorundef, and if you don't hand it one it just chills atundefπ
direction β scrolldirection = $eventscroll->direction ($newvalue=0)
$newvalueβ aGtk2::Gdk::ScrollDirection, defaults to0β¨
x β double = $event->x ($newvalue=0.0)
$newvalueβ adouble, defaults to0.0π
y β double = $event->y ($newvalue=0.0)
$newvalueβ adouble, defaults to0.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 π
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
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms