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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -