python - Can i automatically turn a new created tkinter notebook tab into the active tab -


i writing own text editor in python. when open files or create new file opened in new tab, new tab never active tab.

is there can make new tab active tab without manually selecting in application?

the notebook widget has method named select make given notebook tab active.

this documented in official ttk documentation:

https://docs.python.org/3.1/library/tkinter.ttk.html#tkinter.ttk.notebook.select


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -