Gtk2::G...:Client(3)
β¨ Gtk2::G...:Client(3) β¨
okay bestie, so this is a page from the User Contributed Perl Documentation β the file itself is called Gtk2::G...:Client(3) (yes the name got squished, it's giving "my username was already taken") and the actual module we're talking about is Gtk2::Gdk::Event::Client. let's get into it π
πΈ NAME πΈ
Gtk2::Gdk::Event::Client β the client-event girlie of the Gdk event family π
π¦ HIERARCHY π¦
here's the family tree, and yes she is a nepo baby:
Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::Client
so Gtk2::Gdk::Event::Client is a child of Gtk2::Gdk::Event. it's giving "I have a rich parent and I'm not sorry" π
π METHODS π
π old_string = $eventclient->data (string)
π old_list = $eventclient->data (list of ten shorts)
π old_list = $eventclient->data (list of five longs)
...(list) π
okay so this is the plot twist: depending on what data_format is set to, data takes one of three different kinds of values. no cap, three whole vibes:
Gtk2::Gdk::CHARSβ a string of length 20Gtk2::Gdk::SHORTSβ a list of ten shortsGtk2::Gdk::LONGSβ a list of five longs
so like... it's the same method but it shapeshifts based on data_format. main character energy honestly π
π unsigned = $eventclient->data_format ($newvalue=0)
$newvalue(unsigned)
this one should be set to either $Gtk2::Gdk::CHARS, $Gtk2::Gdk::SHORTS, or $Gtk2::Gdk::LONGS. and if you wanna know what that actually does, go read data β full explanation lives there, bestie, I'm not retyping it π«Ά
β atom = $eventclient->message_type ($newvalue=0)
$newvalue(Gtk2::Gdk::Atom)
that's it, that's the option. short and iconic β¨
π SEE ALSO π
Gtk2
go check out the parent, she's famous π
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
fr fr, if you're gonna use this, respect the license β the gtk2-perl team said what they said π
and that's the whole page, bestie!! πΈ this was perl v5.42.0, dated 2025-07-25, straight from the Gtk2::G...:Client(3) manpage. slay, go write some Perl, 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