[Gtk-sharp-list] main loop iteration

Miguel de Icaza miguel@ximian.com
11 Feb 2003 13:34:07 -0500


Hello,

> El mar, 11 de 02 de 2003 a las 07:10, George Farris escribi=F3:
> > How does one force an iteration of the main loop like gtk_main_iterate(=
)
> > in C?
>=20
> GLib.MainContext.Iteration ()

Or you could also use:

	while (Application.EventsPending ())
		Application.RunIteration ()

I guess Radek did not know about this API before introducing the new
MainContext.Iteration (Nothing wrong with the new addition, if only to
remain consistent).

miguel