I have a problem about buttons. Example:
Thank you all.
root=Tk() def callback(): print("My name is Kaan") buton=ttk.Button(root, text="Callback", command=callback) buton.pack()That's okay. It works but it works when I pulled click from button. I need my function works when I clicked (at the moment of pushed). Also, I need my function work like during I am pushing to button (holding) then output might be
Output:My name is Kaan
My name is Kaan
My name is Kaan
My name is Kaan
My name is Kaan
.
.
.
So is there any setting about push-pull of buttons? Thank you all.