[Gtk-sharp-list] Pause the execution of crowded computation to allow the GUI to refresh
fpiraneo
fpiraneo at iface.ch
Fri Apr 23 13:57:36 EDT 2010
Hi all,
I have a very long computation to perform on my application and I'm showing
the progress with a progress bar. Unfortunately the progress bar doesn't
refresh because my computation takes full computing time and doesn't allow
the GUI to refresh (the progress bar too) and the timeout set up doesn't
start.
So I'm asking: Is there any way to stop for some milliseconds my computation
to allow the GUI to properly refresh? Something like the g_usleep that I
don't find in glib implementation in mono...
I've seen this: http://www.mono-project.com/Responsive_Applications but
doesn't help me too much.
Thank you for the answers.
Francesco
--
View this message in context: http://mono.1490590.n4.nabble.com/Pause-the-execution-of-crowded-computation-to-allow-the-GUI-to-refresh-tp2062626p2062626.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list