Switching Frames in Tkinter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Switching Frames in Tkinter

I have made many GUIs in Tkinter and if I need a new window I simply use the "toplevel" method. Now however, I want to create more professional looking windows where when you want to navigate to something else the window reloads (not sure if that is the correct terminology). Basically I want the whole program to remain in one frame. I have seen some guides calling this process "switching frames". Thanks in advance!

18th Aug 2017, 12:56 PM
Thomas John
Thomas John - avatar
2 Answers
+ 1
it's only an idea. but maybe make more frames and set visible true to your frame you need. the other frames to 'not visible'
19th Nov 2017, 8:00 AM
Da Riebi
Da Riebi - avatar
0
I think the best way is use top level
1st Sep 2017, 12:32 AM
Fillipe Meireles
Fillipe Meireles - avatar