GTK dialog ESC key problem



Hi,

I have a gtk-dialog built with glade with the two buttons Cancel and Ok. When I push the ESC key on the keyboard the code behaves as I clicked Ok with the mouse on the dialog and this is not correct.

How can I avoid this behaviour ?
--
Colossus

Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/




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