I'm doing some batch-processing on a folder of images. I cycle through the folder, load an image, do something, load a new one, etc.
I have to display the result of each step while I'm processing.
The problem is, that one I start processing (by clicking a button in a dialog) my display-window is only updated after the callback of the menu-button that launched the dialog has returned.
So only the very last image is shown. The same is true if try to create a new display window. It only appears when the processing is over.
Anyone an idea how to solve this problem? (the dialog is already non-modal)
If I look at an example that is similar, like the .../examples/kym/movie-player I see that the call-backs and buttons are directly implemented in GTK. Is this the only solution?

Thomas Koninckx                 
Katholieke Universiteit Leuven                 tel.+32-(0)16-32.10.90
Department Electrical Engineering(ESAT)        fax. +32-(0)16-32.17.23
PSI-VISICS           (VISion for Industry Communications and Services)
Kasteelpark Arenberg 10                   tkoninck@esat.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.esat.kuleuven.ac.be/psi