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
Post a Comment