Re: Progress bar waiting too long?




On 25-Sep-99 Tom Gilbert wrote:
> AFAIK, the changes to the status-bar value will not visually take
> effect until the next time gtk_main is entered.
> 
> After updating the progress bar, try adding:
> 
> while(gtk_events_pending())
>     gtk_main_iteration();
> 
> That should redraw everything for you.
> 
> (There are other solutions, including timers etc, but I am drawn to
> two-liners).
> 
Thanks that helped.

                                        -Govind Salinas



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