Re: Progress_bar failing to change

Spot on Hrvoje, that's my problem, many thanks for the help. I'll have to change the way I'm thinking.

Paul, your comment is correct, I should have taken more care in cutting the clutter from the my problem, sorry about that. Ian.

On 12/16/2014 03:55 AM, Hrvoje Niksic wrote:
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.

gtk-list mailing list
gtk-list gnome org

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