Answers for "python tkinter go to another window on button click"

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

Code answers related to "python tkinter go to another window on button click"

Python Answers by Framework

Browse Popular Code Answers by Language