… | |
… | |
19 | use Glib::EV; |
19 | use Glib::EV; |
20 | async { main Gtk2 }; |
20 | async { main Gtk2 }; |
21 | # ... do other things |
21 | # ... do other things |
22 | |
22 | |
23 | DESCRIPTION |
23 | DESCRIPTION |
|
|
24 | If you want to use glib/gtk+ in an EV program, then you need to look at |
|
|
25 | the EV::Glib module, not this one, as this module requires you to run a |
|
|
26 | Glib or Gtk+ main loop in your program. |
|
|
27 | |
|
|
28 | If you want to use EV in an Glib/Gtk+ program, you are at the right |
|
|
29 | place here. |
|
|
30 | |
24 | This module coerces the Glib event loop to use the EV high performance |
31 | This module coerces the Glib event loop to use the EV high performance |
25 | event loop as underlying event loop, i.e. EV will be used by Glib for |
32 | event loop as underlying event loop, i.e. EV will be used by Glib for |
26 | all events. |
33 | all events. |
27 | |
34 | |
28 | This makes Glib compatible to EV. Calls into the Glib main loop are more |
35 | This makes Glib compatible to EV. Calls into the Glib main loop are more |