Is it possible to give a jupyter notebook widget the focus? I can't see documentation or hints in the code about this?
I believe there is a pull request regarding this issue and in this commit you can actually see it in code. Since this PR is already merged I hope it will be out in the upcoming ipywidgets 8.0.
It's available via .focus() but not to all widgets yet it seems.
See https://ipywidgets.readthedocs.io/en/latest/reference/ipywidgets.html#ipywidgets.widgets.domwidget.DOMWidget.focus
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With