title: Automatically turn a new created tkinter notebook tab into the active tab
body: <p>I am writing my own text editor in Python. When I open files or create a new file it is opened in a new tab, but the new tab never is the active tab.</p>
  
  <p>Is there anything I can do to make the new tab the active tab without manually selecting it in my application?</p>