Forcing a widget redraw

Is it possible to make a widget redraw *now*, i.e. don't put an event on the 

I have a program that's doing major processing (a CD sound file editor, if 
you're interested). When it's processing tens of megabytes of data it can take 
a while. I'd like to have a progress bar.

Unfortunately, if I change the value of the progress bar in the usual way, the 
signal is deferred until my function returns. By which time the whole 
operation has finished.

Yes, I *know* I should be doing the processing in small chunks in the 
background but that's hard.

I suppose what I want to do is to call the progress bar's paint function 
manually. But it's private and hidden from user programs. What can I do?

+- David Given ----------------+ 
|  Work:          | FNORD                            
|  Play:      | 
+- -+ 

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