Re: patch for GtkDialog
- From: Havoc Pennington <hp redhat com>
- To: James Willcox <jwillcox cs indiana edu>
- Cc: gtk-devel-list gnome org, snickell stanford edu, calum benson ireland sun com
- Subject: Re: patch for GtkDialog
- Date: 29 Mar 2002 11:16:36 -0500
Havoc Pennington <hp redhat com> writes:
> My opinion is that in practice, if you make this change then NO dialog
> will have Escape, even those that _do_ have cancel buttons. I don't
> think it's realistic to expect people to special-case dialogs with
> cancel vs. non-cancel. So in making a decision we may want to keep
> that in mind. Adding an Escape shortcut manually would be decidedly
> nontrivial with current API.
Clever idea: have the close window shortcut only apply if the dialog
has a button with GTK_RESPONSE_CANCEL. (i.e. return FALSE from the
keybinding handler. Ugh, once again we should have made all keybinding
signals return boolean...)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]