on-event in editor-canvas%
Called when the canvas receives a mouse event. See also Mouse and Keyboard Events, noting in particular that certain mouse events can get dropped.
( -> void
send an-editor-canvas on-event event)
event : mouse-event% object
Passes the event to the canvas's editor, if any, by calling its
on-event method.
See also
get-editor.