Skip to content Skip to sidebar Skip to footer

Navigating Between Multiple Tkinter Gui Frames

I found some code online to create a tkinter GUI with multiple frames. I tried to modify the code to include a frame with navigation buttons to be displayed on each frame, rather t

Solution 1:

The initializer of MainButtonFrame needs a parent and a controller. The controller must be the instance of the main app, not the class. Change how you create MainButtonFrame to be this:

btns = MainButtonFrame(self,controller)

Post a Comment for "Navigating Between Multiple Tkinter Gui Frames"