On Nov 1, 2011, at 1:15 PM, [email protected] wrote:

> Hi friends:
> 
> Well, I have a problem that is driving me crazy, in a gtk-sharp 2.12 window I 
> have a
> label where I represent a digital clock "00:00:00" and I create a thread with
> infinity loop that wait a second to change the label in the windows, this 
> thread
> execute a method inside the windows where the windows it self change the 
> label's
> text.
> 
> The problems is, that pass a random time the windows get block, I mean, 
> program
> remains working but the visual part of the windows get blocked.
> 
> what could be happening, please I need this help.....
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Please read http://www.mono-project.com/Responsive_Applications. The problem is 
not in GTK#, it's in your code. Specifically read the bigs about 
Gtk.Application.Invoke and Gtk.ThreadNotify, and programming with threads.

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

Reply via email to