How to make escape cancel dialogs


    In my app, I have been able to make the Enter key OK dialog boxes with

    "activate", GtkSignalFunc(FindInFilesSignal), this);

    connecting to all the entry fields. Is there a similar (or better)
technique for allowing Escape to cancel the dialogs. A better technique
could be something like associating an accelerator table with the whole
dialog, or attaching a key press handler to the dialog. I could not work out
if key presses are propagated to parent widgets.

    Neil Hodgson

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]