- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframes.py
More file actions
Latest commit
22 lines (17 loc) · 607 Bytes
/
Copy pathframes.py
File metadata and controls
22 lines (17 loc) · 607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
fromtkinterimport*
fromPILimportImageTk, Image
root=Tk()
root.geometry("960x540")
root.iconbitmap('ico/netfol.ico')
root.title("Frames")
topframe=LabelFrame(root, width=960, height=200, padx=100, pady=100, relief=GROOVE ,bg='green')
topframe.pack()
mainframe=LabelFrame(root, width=960, height=300, bd=2, padx=100, pady=100, relief=SUNKEN, bg='red')
mainframe.pack()
menu=Button(topframe, text="Menu", padx=5, pady=5)
menu.pack(anchor=W)
menu2=Button(topframe, text="Menu2", padx=5, pady=5)
menu.pack()
menu3=Button(topframe, text="Menu3", padx=5, pady=5)
menu.pack()
root.mainloop()