added quit button
This commit is contained in:
parent
6d38ca44a7
commit
be0b603430
1 changed files with 4 additions and 0 deletions
4
ben10.py
4
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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue