Answers for "can you call the new window into another function 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

Code answers related to "can you call the new window into another function tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language