¿Who is better to use for flush events (refresh gui)?

while(GLib.MainContext.Iteration());

or

while(Gtk.Application.EventsPending()) {
    Gtk.Application.RunIteration();
}

both works but what is the diference?

regards

--
Jesus Eguiluz
Ingeniero Electrónico.
Investigación y Desarrollo
Andes Electrónica Ltda.
+56 2 2347-8780
www.andeselec.com

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to