ttk.Notebook.select

Notebook.select(tab_id=None)[source]

Selects the specified tab.

The associated child window will be displayed, and the previously-selected window (if different) is unmapped. If tab_id is omitted, returns the widget name of the currently selected pane.