I want to detect a long mouse click using tkinter.
How can I do that?
The <Button-1> doesn't help at all.
You can create a binding for both the button press (<ButtonPress-1>) and button release (<ButtonRelease-1>). Save the time that the press happened and then compute the delay when the release happened.
Or, depending on what you mean by "detect", you can schedule a job to run when the button is clicked, and then cancel the job if the button is released before the timeout.
How can I detect long mouse clicks with tkinter?