Glib-EV

 view release on metacpan or  search on metacpan

EV.pm  view on Meta::CPAN

 use Glib::EV;

 # example with Gtk2:
 use Gtk2 -init;
 use Glib::EV;
 use EV; # any order
 my $timer = EV::timer 1, 1, sub { print "I am here!\n" };
 main Gtk2;
 # etc., it just works

 # You can even move the glib mainloop into a coroutine:
 use Gtk2 -init;
 use Coro;
 use Coro::EV;
 use Glib::EV;
 async { main Gtk2 };
 # ... do other things

=head1 DESCRIPTION

If you want to use glib/gtk+ in an EV program, then you need to look at

README  view on Meta::CPAN

     use Glib::EV;

     # example with Gtk2:
     use Gtk2 -init;
     use Glib::EV;
     use EV; # any order
     my $timer = EV::timer 1, 1, sub { print "I am here!\n" };
     main Gtk2;
     # etc., it just works

     # You can even move the glib mainloop into a coroutine:
     use Gtk2 -init;
     use Coro;
     use Coro::EV;
     use Glib::EV;
     async { main Gtk2 };
     # ... do other things

DESCRIPTION
    If you want to use glib/gtk+ in an EV program, then you need to look at
    the EV::Glib module, not this one, as this module requires you to run a



( run in 0.538 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )