pyannotebook is my first attempt at building a widget for audio annotation.
As I wanted to support keyboard shortcuts, I chose to go with ipyevents and… that works just fine in jupyter notebook.
However, I am now wondering whether it was a good choice because:
-
ipyeventsdoes not seem to be maintained anymore; - it does not work in
Google Colab(because they seem to catch key press beforeipyeventsdoes)
I prepared a notebook than can be tried directly in Google Colab to get an idea of what the problem is.
What is the recommended way of implementing keyboard shortcuts with ipywidgets today?
Thanks!
Hervé.