Handles keyboard input to the buffer. The get-event-object method of the event argument will return the top-level view (usually a wx:media-canvas% object) which received the event.
Consider overriding on-local-char or on-default-char instead of this method.
Either passes this event on to a caret-owning snip or calls on-local-char .