Re: specifying dialog default buttons
- From: Guy Harris <gharris flashcom net>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: specifying dialog default buttons
- Date: Sun, 9 Jul 2000 12:06:34 -0700
On Sun, Jul 09, 2000 at 02:49:07PM -0400, Havoc Pennington wrote:
> Where the last button to be added with that response ID becomes the
> default button, and closing on delete_event returns that response ID
> from gtk_dialog_run().
In an earlier message, you'd said:
> Changes since the last GtkDialog iteration a long time ago:
...
> - Escape key synthesizes a delete_event
I may be mising something, but those two items appear to be implying
that the Escape key would cause "gtk_dialog_run()" to return the same
response as would activating the default key (e.g. with the Enter key).
For a dialog box with "OK" and "Cancel", I think this would be the wrong
behavior - Escape, and asking the window manager to delete the window,
should both make it look as if the "Cancel" button were clicked, and
Enter should make it look as if the "OK" butter were clicked, in such a
dialog box.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]