Re: [gtk-list] How to animate a progressbar?
- From: Erik Mouw <J A K Mouw its tudelft nl>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] How to animate a progressbar?
- Date: Wed, 9 Feb 2000 16:43:09 +0100 (MET)
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]