Re: Is there any way, api call, to make sure queued/pending redraws are completed



Norman Black wrote:

I am looking for the equivalent of the Win32 UpdateWindow API call. Since

You can try this (quote of a Havoc Pennington reply):

 while (g_main_iteration (TRUE)); 
(I think, I'm still not sure about that idiom, but it should be the
 same as:
 while (gtk_events_pending ())
   gtk_main_iteration();

WL




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