📅  最后修改于: 2022-03-11 14:45:37.379000             🧑  作者: Mango
# 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()