Re: patch for GtkDialog
- From: James Willcox <jwillcox cs indiana edu>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list gnome org, Seth Nickell <snickell stanford edu>, calum benson ireland sun com
- Subject: Re: patch for GtkDialog
- Date: 05 Apr 2002 10:29:43 -0500
On Sun, 2002-03-31 at 16:32, Havoc Pennington wrote:
>
> Hi,
>
> The patch looks good to me except that we're still "eating" the Escape
> key here; is that OK? Or should we be passing it through?
So, passing it through would allow it to be bound to something else,
right? I think this could lead to confusion.....what do UI people
think?
> To pass it through, we'd need to add a new keybinding signal
> activate_cancel or the like, and return TRUE/FALSE from that according
> to whether we have cancel. The new signal can be added without using a
> slot in GtkDialogClass, Owen can post his hack for that maybe...
>
> This raises a small question, should Escape result in
> GTK_RESPONSE_CANCEL then, rather than GTK_RESPONSE_DELETE_EVENT?
This seems resonable.
Thanks,
James
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]