I am trying to get rounded buttons for my script using tkinter.
I found the following code:
from tkinter import * import tkinter as tk class CustomButto
You are not passing any arguments to the constructor. Precisely, in this line
app = CustomButton()
you need to pass the arguments that were defined in the constructor definition, namely the parent, width, height and color.
parent
width
height
color