[previous] [up] [next]     [contents] [index]
Next: on-focus Up: wx:media-buffer Previous: on-edit-sequence

on-event

Handles mouse input to the buffer. The get-event-object method of the event argument will return the top-level view (usually a wx:media-canvas% object) which received the event. The event's x and y coordinates are in the view's co-ordinate system; use the administrator's get-dc method to obtain translation arguments (or use dc-location-to-buffer-location).

Consider overriding on-local-event or on-default-event instead of this method.



PLT