Re: Verifying input data before gtk_dialog_run returns
- From: Allin Cottrell <cottrell wfu edu>
- To: Jaap Haitsma <jaap haitsma org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Verifying input data before gtk_dialog_run returns
- Date: Wed, 21 Mar 2007 22:04:42 -0400 (EDT)
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]