Gtk2::G...:Client(3)

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

✨ 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 20
  • Gtk2::Gdk::SHORTS β†’ a list of ten shorts
  • Gtk2::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 (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