[Gtk-sharp-list] [GTK#] Display problem (Update)

Todd Berman tberman at off.net
Thu Oct 13 06:44:58 EDT 2005

On Thu, 2005-10-13 at 12:39 +0200, Fonzetto Michaël wrote:
> Hello,
> I have spent much time around this problem : I use a main VBox that
> includes some HBoxes.
> In one Hbox (the one I think that causes problems) I attached 4 images
> and 1 Label. I want to display one Image at a time and the label
> content changes every time the image changes. So the first time I use
> the myWindow.ShowAll() method and I call a method that selects the
> right image to display. Then, I display the image by : Hiding the 3
> images I don't use and Show the image I want to be displayed (the
> label content changes as well). But I have display refresh problems
> the program keeps executing (Writing to Console continues) but the
> display is freezed.
> Thank you very much for your help
> I follow the advice of Todd Berman, I attach my source file to the
> mail.

The issue is that you are using System.Threading.Timer, use GLib.Timeout


More information about the Gtk-sharp-list mailing list