Yes! You need to call
keyboard_manager.register_events(element);`
where element
is the element you want to get its own keyboard events, and keyboard_manager
is accessible as either Jupyter.notebook.keyboard_manager
or this.keyboard_manager
, depending on context.
-Min
There are of course many key bindings in the notebook. Is there a way to turn off those bindings when in a program that wants to process user keyboard events, for example to steer an object in a canvas?
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/b59cad4b-9e77-4a8e-88c5-9c236752c808%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.