Re: Progress bar waiting too long?
- From: warder pcisys net
- To: Tom Gilbert <gilbertt tomgilbert freeserve co uk>
- Cc: gnome-devel-list gnome org
- Subject: Re: Progress bar waiting too long?
- Date: Sat, 25 Sep 1999 12:41:57 -0500 (CDT)
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]