peeeettterer
This commit is contained in:
parent
d3fb2f1967
commit
615e315a47
2
peter.py
2
peter.py
|
@ -13,7 +13,7 @@ peter_pic = image=ImageTk.PhotoImage(Image.open("src/peter.png"))
|
|||
peter = Label(body, image=peter_pic)
|
||||
peter.grid(sticky="news")
|
||||
|
||||
OK_button = Button(body, text="OK")
|
||||
OK_button = Button(body, text="OK", command=root.destroy)
|
||||
OK_button.grid(pady=(20,0))
|
||||
|
||||
root.mainloop()
|
||||
|
|
BIN
src/peter.png
BIN
src/peter.png
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.2 KiB |
Loading…
Reference in a new issue