Names a new function to handle keyboard events. If there was already a function mapped to this name, it will be overridden. The namespaces for key and mouse event handlers are separate.
a wx:key-event% object -- that returns a boolean
If func returns #f, the event is handled by the default handler.