peter icon

This commit is contained in:
array-in-a-matrix 2021-06-19 17:32:26 -04:00
parent 53570db660
commit fc5261b00f
2 changed files with 2 additions and 1 deletions

View file

@ -5,11 +5,12 @@ root = Tk()
root.title("Peter Alert")
root.geometry("330x150")
root.wm_resizable(False, False)
root.iconbitmap("res/peter.ico")
body = Frame(root)
body.place(relx=0.5, rely=0.5, anchor=CENTER)
peter_pic = image=ImageTk.PhotoImage(Image.open("src/peter.png"))
peter_pic = image=ImageTk.PhotoImage(Image.open("res/peter.png"))
peter = Label(body, image=peter_pic)
peter.grid(sticky="news")

BIN
res/peter.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB