+ 1

does anyone know how to make a circle button in python (tkinter)

27th Feb 2021, 11:36 AM
N W Techs
N W Techs - avatar
2 Respostas
+ 2
I don't know how to give circular shape to the button but you can add image as the button.. For this, at first you need to add the location of the button image (icon) that should be in .PNG format as follows:- img = PhotoImage (file = "location of the image file with extension") And then, in the button widget, you need to add an extra property as follows: image = img And at last, set the borderwidth to 0. The command for this is: borderwidth=0
27th Feb 2021, 4:22 PM
Amrit Mishra
Amrit Mishra - avatar
+ 1
Use circle image as button. Like in html and css
27th Feb 2021, 5:23 PM
Shadoff
Shadoff - avatar