[Gtk-sharp-list] [GTK#] Display problem (Update)
michael.fonzetto at gmail.com
Thu Oct 13 07:24:32 EDT 2005
Thank you very much, I always thought it was a VBox or HBox problem !!
But why did I have that type of problems with Timers ??
Again thank you, I have been dealing with it for 2 days !
2005/10/13, Todd Berman <tberman at off.net>:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list