The problem is that while testing to see if it's OK to save the user's
the program discovers a minor problem.
In the "curses" version of the program, it is simple to ask the user if
to ignore the minor problem and save the data anyway. This is done
disrupting the flow of the program...
if ( Confirm ( "Hey buddy, are you sure? (Y/N)" ))
... do other processing and testing and perhaps more confirming...
Write the data to disk;
I can see only one ugly way to do this in GTK. That is to create call a
program that will ask the question and return a value. It is trivial to
execution of the main program while the child program is waiting for a
I have looked at the GIMP source code to see how it does this sort of
But I don't see how its solution will work for me.
(So, it looks like I'm writing a program just to do Confirmation Windows
such time as I can learn of a better idea).