Re: [gtk-list] gtkprogressbar update problems
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtkprogressbar update problems
- Date: Tue, 16 Mar 1999 20:59:45 -0500 (EST)
On Wed, 17 Mar 1999, scherfa wrote:
>
> progress_adj=gtk_progress_get_value (GTK_PROGRESS (progressbar))+1;
> if (progress_adj > adj->upper)
> progress_adj = adj->lower;
> printf("value %f\n",progress_adj);
> gtk_progress_set_value (GTK_PROGRESS (progressbar), progress_adj);
Add here:
while (gtk_events_pending())
gtk_main_iteration();
> gtk_widget_show(progressbar);
>
This shouldn't be in the loop, it should be before it.
Havoc
(the human FAQ-o-matic)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]