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.Is it possible to wait for GMainLoop event without processing them?
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:g_main_context_query () polls.
> while (1) {
> call prepare
> call query, which will block.
> do stuff.
> then call dispatch.
> do more stuff.
> }
--
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