Re: Progress_bar failing to change

On 12/15/2014 10:49 PM, Ian Chapman wrote:
Hi All, I'm having a strange problem using

gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(Battery), x);

I have it in two places, the first in my file that has main() and that
works like I'd expect. The second in a different module and that
compiles and runs but fails to change the progress bar.

Are you returning to the main loop after updating the progress bar? Failing to return to the main loop is a frequent source of problems with progress bar updates.

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