Answers for "how to move from one window to another in tkinter"

1

python tkinter go to another window on button click

# Function to make new window
def openNewWindow():
  newWindow = Toplevel(root)
  newWindow.title("New page")
  newWindow.geometry("700x400")

button = Button(root, text="Click me", command=openNewWindow)
button.pack()
Posted by: Guest on April-26-2021
0

keep tkinter window below others

#Keep tkinter window above others
root.attributes('-topmost', True)

#You can't keep the tkinter window below others without other imports
Posted by: Guest on November-12-2021

Code answers related to "how to move from one window to another in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language