Called to handle mouse events on the snip when this snip can handle events and when the snip has the keyboard focus. See on-char for information about the arguments. 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).