ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV-Glib/Glib.pm
(Generate patch)

Comparing EV-Glib/Glib.pm (file contents):
Revision 1.2 by root, Sat Dec 8 03:40:32 2007 UTC vs.
Revision 1.3 by root, Sat Dec 8 04:16:07 2007 UTC

39=item * There will be no g_main_loop or gtk_main loop available. 39=item * There will be no g_main_loop or gtk_main loop available.
40 40
41The EV event loop is not the gtk+ main loop. That means that things like 41The EV event loop is not the gtk+ main loop. That means that things like
42C<gtk_main_quit> will not work at all. 42C<gtk_main_quit> will not work at all.
43 43
44=item * You cannot call any glib loop functions while its context is active.
45
46This module uses a prepare watcher at lowest priority to dispatch glib
47events and activate the main context. The context will be deactivates in a
48check watcher of highest priority.
49
50That means that glib events will be dispatched with lowest priority, and
51that you cannot call any glib main functions (or functions calling it) on
52the default mainloop in highest-priority watchers and in lowest-priority
53prepare watchers.
54
44=cut 55=cut
45 56
46package EV::Glib; 57package EV::Glib;
47 58
48use Carp (); 59use Carp ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines