Advertisement
here2share

# Tk_button_relief.py

Jun 15th, 2015
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. # Tk_button_relief.py
  2.  
  3. from Tkinter import *
  4.  
  5. root = Tk()
  6.  
  7. b1 = Button(root, text ="FLAT", relief=FLAT).pack()
  8. b2 = Button(root, text ="RAISED", relief=RAISED).pack()
  9. b3 = Button(root, text ="SUNKEN", relief=SUNKEN).pack()
  10. b4 = Button(root, text ="GROOVE", relief=GROOVE).pack()
  11. b5 = Button(root, text ="RIDGE", relief=RIDGE).pack()
  12.  
  13. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement