Advertisement
here2share

# Tk_relief_styles.py

Dec 26th, 2021
1,095
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. # Tk_relief_styles.py
  2.  
  3. from tkinter import *
  4.  
  5. root = Tk()
  6.  
  7. B1 = Button(root, text ="RAISED", relief=RAISED)
  8. B2 = Button(root, text ="SUNKEN", relief=SUNKEN)
  9. B3 = Button(root, text ="FLAT", relief=FLAT)
  10. B4 = Button(root, text ="GROOVE", relief=GROOVE)
  11. B5 = Button(root, text ="RIDGE", relief=RIDGE)
  12.  
  13. B1.pack()
  14. B2.pack()
  15. B3.pack()
  16. B4.pack()
  17. B5.pack()
  18. root.mainloop()
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement