Re: How to disable the esc key in gtkdialog?



On Friday 13 May 2005 02:51, moody_blur wrote:

The gtkdialog destroy itself when get a esc key. How
can I trap the key and disable this feature?

Don't add a 'cancel' button or any other action widget/button with a 
GTK_RESPONSE_CANCEL response value to the dialog and that behaviour will 
disappear.

Cheers
 -Tim



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