KeyStrokes for Toolbar options

Hi,

I was looking for a solution to control toolbar options (pan tool, freehand drawing tool, etc.) with Keyboard strokes. Please let me know if there are any examples or documentation. Thanks in advance.

Here are the version details I am using:

Python version : 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0]
IPython version : 9.6.0
Tornado version : 6.5.2
Bokeh version : 3.3.4
node.js version : v18.19.1
npm version : 9.2.0
jupyter_bokeh version : 4.0.5
Operating system : Linux-6.8.0-71-generic-x86_64-with-glibc2.39

There is no support for this currently, but we are working on key binding support in Add support for key binding management by mattpap · Pull Request #14172 · bokeh/bokeh · GitHub, which should be available in bokeh 3.9 (in December).

1 Like