google / neuroglancer

WebGL-based viewer for volumetric data
Apache License 2.0
1.09k stars 299 forks source link

Python example to track the mouse movement? #655

Closed tuffr5 closed 3 weeks ago

tuffr5 commented 3 weeks ago

Does the current python API allow custom actions such as tracking the mouse dragging event to get the continuous mouse coordinates? Thank you.

tuffr5 commented 3 weeks ago

Use input_event_bindings.viewer rather than input_event_bindings.data_view can do this trick.