[Gtk-sharp-list] Refresh Problem + Sleep

Matteo Bertozzi theo.bertozzi at gmail.com
Wed Jan 18 09:15:42 EST 2006


I've a Refresh Problem, with this function...
I Think that the problem is Thread.Sleep() but I don't know how to 
resolve it...

public static void DW (Gtk.Window window, int millisecondsTimeout) {
        int screenHeight = window.Screen.Height;
        int winX, winY;
        
        do {
                window.GetPosition(out winX, out winY);
                window.Move(winX, winY + 1);
                System.Threading.Thread.Sleep(millisecondsTimeout);
        } while (winY <= screenHeight);
}


More information about the Gtk-sharp-list mailing list