[previous] [up] [next]     [contents] [index]
Next: on-event Up: wx:snip Previous: next

on-char

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.



PLT