A wx:keymap% object is used by wx:media-buffer% buffers to map keyboard and mouse sequences to arbitrary functions in an extensible way. Keymaps can be used without buffers, as well. A wx:keymap% object contains
A callback procedure in a keymap is invoked with a wx:key-event% object or a wx:mouse-event% object. It is also given another wx:object% object that depends on the context in which the keymap is used. For keymaps used with wx:media-buffer% buffers, the extra parameter is always the wx:media-buffer% object that received the keyboard or mouse event.
Creates an empty keymap.