On Wed, Jun 26, 2013 at 6:49 PM, Kip Warner <k...@thevertigo.com> wrote:
> On Wed, 2013-06-26 at 18:43 -0400, Paul Davis wrote: > > geez, does nobody read docs any more ? > > Chill. > > > > https://developer.gnome.org/glib/2.30/glib-The-Main-Event-Loop.html#g-main-context-pending > > > sorry wrong link. same page, near top, see "Customizing the main loop > > iteration" > > > I am probably just not reading it right, but how can a caller use the > component functions to do what he is asking, namely check if there are > events, blocking until there are some, and doing so without polling? > while (1) { call prepare call query, which will block. do stuff. then call dispatch. do more stuff. }
_______________________________________________ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list