ttk.Notebook – Disable a tab
1 2
# Disable the currently selected tab my_notebook.tab("current", state="disabled")
We can also specify the index number of the tab.
# Disable the tab at index zero my_notebook.tab(tab_id=0, state="disabled")