Exit Button

PHOTO EMBED

Mon May 31 2021 22:27:30 GMT+0000 (UTC)

Saved by @mikek

from tkinter import *
from PIL import ImageTk, Image

root = Tk()
root.title("Image")
root.iconbitmap(r'icon.ico')

# Button
button_quit = Button(root, text="Exit Program", command=root.quit)
button_quit.pack()
label = Label



mainloop()
content_copyCOPY