Re: patch for GtkDialog
- From: Havoc Pennington <hp redhat com>
- To: James Willcox <jwillcox cs indiana edu>
- Cc: gtk-devel-list gnome org, Seth Nickell <snickell stanford edu>, calum benson ireland sun com
- Subject: Re: patch for GtkDialog
- Date: 31 Mar 2002 16:32:28 -0500
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?
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?
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]