Kiedy przycisk jest klikany, tkinter Python
def someFunction:
function body
tkWindow = Tk()
button = Button(tkWindow, command=someFunction)
Philan ISithembiso
def someFunction:
function body
tkWindow = Tk()
button = Button(tkWindow, command=someFunction)