[gtkada] Key press event handler function's Interface

Emmanuel Briot briot at gnat.com
Thu Mar 29 10:44:28 CEST 2001


hark sng- writes:
 > I want an application to catch all keypress events ?....do i catch them from 
 > the window then ?
 > 
 > If I catch then what is the signal handler interface that will enable me to 
 > retrieve the key pressed(so i know which key was pressed).......Or better 
 > select certain keys to catch


One again, have you looked in the testgtk example ?
A simple
   grep key_press *.adb

would lead you to the file create_sheet.adb, that contains such a handler.

Emmanuel




More information about the gtkada mailing list