Re: Waiting forGMainLoop events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kip@xxxxxxxxxxxxxx> 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@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux