title: Tkinter: Navigate through pages with button
body: <p>Given the accepted answer to this question: </p>
  
  <p><a href="https://stackoverflow.com/questions/14817210/using-buttons-in-tkinter-to-navigate-to-different-pages-of-the-application">Using buttons in Tkinter to navigate to different pages of the application?</a></p>
  
  <p>Is there a way to extend the Page class so that one can initialize an arbitrary amount of pages from MainView, instead of having to create a new class for every separate page?</p>
  
  <p>Thanks!</p>