peter icon
This commit is contained in:
parent
53570db660
commit
fc5261b00f
3
peter.py
3
peter.py
|
@ -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
BIN
res/peter.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.3 KiB |
Loading…
Reference in a new issue