I want to create a GUI where there are several pages which I want to get open in the same window when their respective buttons are clicked. There is one solution using classes that I have come across: Using buttons in Tkinter to navigate to different pages of the application? However, I am new to Tkinter and the GUI I have implemented so far has been using functions and not classes. Can someone explain how to do this using functions?