Re: [gtk-list] Re: GtkProgressBar && RE: updating a progress bar in a loop



On 5 Mar 1998, Owen Taylor wrote:

> Just being inside a call to gtk_main isn't enough - the main loop
> actually has to be running. What the above snippet does is run
> all pending events and high priority idle functions, then return
> immediately. (The drawing is done in a high priority idle)
> 
> [ Maybe gtk_progress_bar_update should redraw itself instantly instead
>   of queuing a draw? ]

if we are not going to make gtk_progress_bar_update() call a
gtk_widget_draw(this,NULL) and leave the current queuing behaviour,
we should at least provide gtk_progress_bar_update_now which will
update immediately.

> 
> Regards,
>                                                   Owen
> 

---
ciaoTJ



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