Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tk_relief_styles.py
- from tkinter import *
- root = Tk()
- B1 = Button(root, text ="RAISED", relief=RAISED)
- B2 = Button(root, text ="SUNKEN", relief=SUNKEN)
- B3 = Button(root, text ="FLAT", relief=FLAT)
- B4 = Button(root, text ="GROOVE", relief=GROOVE)
- B5 = Button(root, text ="RIDGE", relief=RIDGE)
- B1.pack()
- B2.pack()
- B3.pack()
- B4.pack()
- B5.pack()
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement