from tkinter import *
r=Tk()
f=Frame(bg="red",height=300,width=200,bd=6,highlightbackground="green",cursor="dot",highlightthickness=10)
f.pack(fill='both')
b=Button(f,height=5,width=5,bd=5,bg="pink",text="ab",fg="red")
b.pack()
