Gtk2::G...ent::Key(3)
π Gtk2::Gdk::Event::Key π
okay bestie, gather round, because we're talking about Gtk2::Gdk::Event::Key β the key event situation from the Gtk2::G...ent::Key(3) page in the User Contributed Perl Documentation. it's giving keyboard drama and we're obsessed π
πΈ NAME πΈ
Gtk2::Gdk::Event::Key β literally the event object that shows up when somebody touches a key. periodt π
π¦ HIERARCHY π¦
the family tree, and yes it ate:
Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::Key
so Gtk2::Gdk::Event::Key is the child, Gtk2::Gdk::Event is the parent, and that's the whole lineage. iconic lineage ngl π
β¨ METHODS β¨
three methods, no filler, all main character energy:
unsigned = $eventkey->group ($newvalue=0)β hands you back an unsigned value, and you can pass in$newvalueif you wanna set it.$newvalueβ an unsigned value. that's the whole vibe.
unsigned = $eventkey->hardware_keycode ($newvalue=0)β same deal, gives you an unsigned hardware keycode, and takes an optional$newvalueto poke it with.$newvalueβ unsigned, again, fr fr.
integer = $eventkey->keyval ($newvalue=0)β this one returns an integer keyval instead, and yeah,$newvalueworks here too.$newvalueβ an integer this time. different flavor, same energy π
no cap: every one of these has that $newvalue=0 default sitting right there in the signature. don't lose it π
π SEE ALSO π
- Gtk2 β the whole big parent vibe, go say hi π«Ά
π 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 tea, bestie β this page came to you courtesy of perl v5.42.0, dated 2025-07-25, and it's the Gtk2::G...ent::Key(3) situation. slay, stay keyed in, mwah π
β¨πΈ
π¦ 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