Re: How to oblige Gtk to redraw the window



In message <200109201247 1a21 lh00 opsion fr>you write:
>Thank you for your answer, but I have a problem when
>I use this. If I wrote:
>while (g_main_iteration(FALSE));
>or
>while (gtk_events_pending()) 
>  gtk_main_iteration();
>
>
>When I open an other new window of the application, I
>have the message:
>Gdk-ERROR **: Fatal IO error 83 (Undefined error: 0)
>on X server :0.0.
>And if I open the same window, I have the message:
>Xlib: unexpected async reply (sequence 0xd2e)!

Is there only one thread in your program?

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]