diff --git a/peter.py b/peter.py new file mode 100644 index 0000000..6e91465 --- /dev/null +++ b/peter.py @@ -0,0 +1,19 @@ +from tkinter import * +from PIL import ImageTk, Image + +root = Tk() +root.title("Peter Alert") +root.geometry("330x150") +root.wm_resizable(False, False) + +body = Frame(root) +body.place(relx=0.5, rely=0.5, anchor=CENTER) + +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.grid(pady=(20,0)) + +root.mainloop() diff --git a/src/peter.png b/src/peter.png new file mode 100644 index 0000000..2a22646 Binary files /dev/null and b/src/peter.png differ diff --git a/src/source_image.jpg b/src/source_image.jpg new file mode 100644 index 0000000..0790eca Binary files /dev/null and b/src/source_image.jpg differ