☰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

Can't disable the Tabs widget

Community Support
roinr
roinr

Bokeh version: 2.2.3
OS: WSL

Seems like it’s not possible to disable the Tabs widget.
Example:

from bokeh.io.doc import curdoc
from bokeh.models.layouts import Panel, Tabs
from bokeh.models.widgets.markups import Div

tabs = Tabs(
    tabs=[
        Panel(child=Div(text="hello"), title="1"),
        Panel(child=Div(text="there"), title="2"),
    ],
    disabled=True
)

curdoc().add_root(tabs)

Any known issues with disabling this widget? workarounds maybe?

⌁   Link to post

End of archived discussion · Replies are disabled