+ 5
I need help with tkinter, a python module , i need to create an event handler when the user clicks a button, thx 8)
2 Antworten
+ 5
def say_hi():
print('hi')
but = Button(window, text='click here', command=say_hi)
but.pack()
0
ah, i saw that "command" statement before, thx u :D