From be0b6034305658db8e5ca297b175181a7876a473 Mon Sep 17 00:00:00 2001 From: superdimensional Date: Tue, 27 Apr 2021 16:08:52 -0400 Subject: [PATCH] added quit button --- ben10.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ben10.py b/ben10.py index 670f589..eca4555 100644 --- a/ben10.py +++ b/ben10.py @@ -23,4 +23,8 @@ omnitrix_button = Button(root, image=omnitrix, bg="#70b607", omnitrix_button.place(relx=0.5, rely=0.5, anchor=CENTER) +quit_button = Button(root, text="QUIT", fg="red",command=root.destroy) +quit_button.place(rely=1.0, relx=1.0, x=0, y=0, anchor=SE) + root.mainloop() +