Skip to content

Commit 94cecc7

Browse files
committed
v20201216
1 parent e5c6af1 commit 94cecc7

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

HWSV.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from tkinter import *
2+
3+
window = Tk()
4+
window.title("Test")
5+
window.geometry("800x600")
6+
window.resizable(0, 0)
7+
8+
canvas = Canvas(window, width = 266, height = 600, bg = "forest green").place(x = 0, y = 0)
9+
canvas1 = Canvas(window, width = 268, height = 600, bg = "deepskyblue2").place(x = 267, y = 0)
10+
canvas2 = Canvas(window, width = 266, height = 600, bg = "forest green").place(x = 535, y = 0)
11+
12+
wolfgif = PhotoImage(file = "wolf.gif")
13+
14+
wolf = Button(window, image = wolfgif, width = 128, height = 128).pack(side = LEFT)
15+
16+
window.mainloop()

wolf.gif

10.7 KB
Loading

0 commit comments

Comments
 (0)