Tkinter Frame relief properties
Widget controls can be built inside frames using the properties of the relief property.
Tkinter Frame relief properties Example#1
Create three frames, each with a different RELIEF attribute.
from tkinter import *
root = Tk()
root.title("apidemos.com")
fm1 = Frame(width=150,height=80,relief=GROOVE,borderwidth=5)
fm1.pack(side=LEFT,padx=5,pady=10)
fm2 = Frame(width=150,height=80,relief=RAISED,borderwidth=5)
fm2.pack(side=LEFT,padx=5,pady=10)
fm3 = Frame(width=150,height=80,relief=RIDGE,borderwidth=5)
fm3.pack(side=LEFT,padx=5,pady=10)
root.mainloop()
Output: