On Wed, Jun 26, 2013 at 6:49 PM, Kip Warner <kip@xxxxxxxxxxxxxx> wrote:
while (1) {
call prepare
On Wed, 2013-06-26 at 18:43 -0400, Paul Davis wrote:Chill.
> geez, does nobody read docs any more ?
> https://developer.gnome.org/glib/2.30/glib-The-Main-Event-Loop.html#g-main-context-pending
I am probably just not reading it right, but how can a caller use the
> sorry wrong link. same page, near top, see "Customizing the main loop
> iteration"
>
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.
}
then call dispatch.
do more stuff.
}
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list