We can select a notebook tab through code using the .select() method and passing in the index number for the tab we want to open.

1 2 | |
Tab index numbers start from 0 (zero).
ttk.Notebook – Open tab via code
We can select a notebook tab through code using the .select() method and passing in the index number for the tab we want to open.

1 2 | |
Tab index numbers start from 0 (zero).