IO::Lam...p::Glib(3)

πŸ“¦ version 1.34, in alpine 3.24

🌸 NAME 🌸

okay so bestie, this is the manual page for IO::Lambda::Loop::Glib(3), from the User Contributed Perl Documentation, and the name tea is literally:

IO::Lambda::Loop::Glib β€” Glib event loop for IO::Lambda

that's the whole vibe. no cap. πŸ’…βœ¨

πŸ’– DESCRIPTION πŸ’–

okay so this is the implementation of the event loop for IO::Lambda that's based on the Glib event loop. the module is not intended for direct use β€” like, it's the behind-the-scenes bestie, not the main character you call directly. periodt. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

use it like this, bestie:

  use AnyEvent;
  use IO::Lambda::Loop::Glib; # explicitly select the event loop module
  use IO::Lambda;

πŸ’€ LIMITATIONS πŸ’€

okay so the limitations are giving β€œread me carefully”, and honestly same:

  • Synchronous I/O (wait() and friends) can so far only work with either Gtk2 og Gtk3 main loop initialized. yes, og is literally right there β€” iykyk. πŸ™ˆ
  • Also, after the main loop gets stopped, this module won't work as well. like, it's not gonna be okay after that. πŸ’€
  • Under Gtk2 it is not possible to run bare synchronous IO::Lambda I/O, without calling main_loop, while under Gtk3 it works okay. so Gtk3 is okay, Gtk2 is not for that specific thing. 😭

🌈 SEE ALSO 🌈

Big thanks to Martijn van Beers and Apocalypse for POE::Loop::Glib β€” iconic behavior, honestly. πŸ«ΆπŸ‘‘

Also: AnyEvent ✨


mwah πŸ’‹ this page is from perl v5.42.2, dated 2026-02-15 β€” so that's the source/version and date tea, all wrapped up. byeee, bestie! πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from