[Gtk-sharp-list] Refresh GUI

peter@peterjohanson.com peter at peterjohanson.com
Fri Jan 4 21:47:47 UTC 2013


What is your goal with 'pumping the mainloop'? Having been down that road before, doing so can cause a host of hard to diagnose edge cases. 

Posting your specific need may help enlighten us on alternatives. 

-pete

Sent from my HTC One™ X

----- Reply message -----
From: "Jesus Eguiluz" <jeguiluz at andeselec.com>
To: <gtk-sharp-list at lists.ximian.com>
Subject: [Gtk-sharp-list] Refresh GUI
Date: Fri, Jan 4, 2013 11:31 AM


¿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  -  Gtk-sharp-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20130104/fd1ac90f/attachment.html>


More information about the Gtk-sharp-list mailing list