on-event in snip%
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 'handles-events in
get-flags.
(-> voidsenda-snipon-eventdcxyeditorxeditoryevent)
dc:dc<%>object
x: real number
y: real number
editorx: real number
editory: real number
event:mouse-event%objectThe
xandyarguments are the snip's location in display coordinates. Theeditorxandeditoryarguments are the snip's location in editor coordinates. To getevent's x location in snip coordinates, subtractxfrom(send.eventget-x)