[python] Notify python code about double clicks