How to round off the edges of the button in tkinter Python?

I tried to find it in Google but to no avail. Please tell me how I can round the edges of the button created with the tkinter module in Python?
April 4th 20 at 13:29
1 answer
April 4th 20 at 13:31
By default, Tkinter, you cannot create a Rounded Button(there is no such option), but can be applied to the finished button image.
1. Create in a graphic editor image.
2. Rewriting the code below.
3. Profit
from tkinter import *
root = Tk()

loadimage = PhotoImage(file="image.png")
roundedbutton = Button(root, image=loadimage) 
roundedbutton["border"] = "0" # be Sure to remove the border!!

Find more questions by tags PythonTkinter