How to switch window frames in tkinter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to switch window frames in tkinter

I want navigate between multiple window frames

20th Dec 2020, 11:49 AM
Osei Michael
Osei Michael - avatar
2 Answers
+ 1
Try using def frame(): frame.tkraise() frame()
2nd Jan 2021, 8:53 PM
Champion
Champion - avatar
0
If you are using frame the you can pack_forget one pack another frame and if you are using toplevel then make a separate function in which write your code and call it on button click
20th Dec 2020, 1:14 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar