Re: [gtk-list] How to animate a progressbar?



On Wed, 09 Feb 2000 10:01:23 -0500, jca wrote:
> I'm using a progressbar for the first time, and I've already got
> 
>  gtk_progress_set_percentage(progressbar,percentage);
>  gtk_widget_show_now(progressbar);
> 
> installed in the middle of my time-consuming file read loop...
> 
>    But while the loop is running the progress bar never visibly updates
> (and "percentage" does change).  How do we force a progressbar to
> refresh itself in realtime & onscreen?

It's in the GTK FAQ:

  http://www.gtk.org/faq/gtkfaq-5.html#ss5.12


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/





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