Called to handle keyboard events when this snip has the keyboard focus and can handle events. The drawing context is provided, as well as the snip's location in display coordinates (the event uses display coordinates), and the snip's location in buffer coordinates. The get-event-object method of event will return the top-level view (usually a wx:media-canvas% object) which received the event.
See also wx:const-snip-handles-events in get-flags.
The x and y arguments are the snip's location in display coordiantes. The mediax and mediay arguments are the snip's location in buffer coordinates. To get event's x location in snip coordinates, subtract x from (send event get-x).