the OP asked:

    Is it possible to wait for GMainLoop event  without processing them?

query polls but does not process events. only dispatch does that.



On Wed, Jun 26, 2013 at 7:09 PM, Kip Warner <k...@thevertigo.com> wrote:

> On Wed, 2013-06-26 at 19:04 -0400, Paul Davis wrote:
> > while (1) {
> >   call prepare
> >   call query, which will block.
> >   do stuff.
> >   then call dispatch.
> >   do more stuff.
> > }
>
> g_main_context_query () polls.
>
> --
> Kip Warner -- Software Engineer
> OpenPGP encrypted/signed mail preferred
> http://www.thevertigo.com
>
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to