☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Possible to add custom model without an icon in the toolbar?

Community Support
Bryan
Bryan

AFAIK any custom model that subclasses Tool will always show up in the toolbar. You can supply your own icon, but it will display in the toolbar.

The currently active tools are functions of any individual tools. Bokeh has to prevent, e.g. two scroll tools from being active at the same time, since they would conflict with one another. The active tools are specified, per-gesture, on the Toolbar, via properties active_drag, active_scroll, etc:

⌁   Link to post
bokehcoder
bokehcoder

Hi @Bryan thanks for the reply… ok i see. I know it’s possible to hide the toolbar, so could a solution then be to just totally hide the toolbar and make my own toolbar basically - which enables tools programmatically according to whatever logic i define (as long as i respect that certain tools cannot be active at the same time)?

⌁   Link to post

End of archived discussion · Replies are disabled