I'm trying to catch single clicks and double clicks on my figure.
As stated in another answer, the event
contains event.dblclick
which is False or True, at least in Version 1.4.2, so double clicks can be got.
The only problem is that it's not easy to distinguish between a single click and a double click because when double-clicking the event gets fired twice. The first time it's with event.dblclick=False
and the second time it's with event.dblclick=True
.
Is there any solution to this? I saw that the same problem regarding qt is discussed here.