Re: Verifying input data before gtk_dialog_run returns



On Wed, 21 Mar 2007, Allin Cottrell wrote:

If you follow this model, it's a nice courtesy to offer the
user a way out: a Cancel button in the original dialog,
which allows them to say, "The heck with this 'invalid input',
I'm out of here."

So of course the callback for the Cancel button is

* don't check the input
* destroy the dialog
* don't proceed to the "next task" that requires valid user input

Allin Cottrell



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