def _on_timeout(self, index):
        if self._counters[index] > 1:
            self._doubles[index]()
        else:
            self._singles[index]()
        # Reset counter
        self._counters[index] = 0

    #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
dataset/ETHPy150Open petervaro/coublet/widgets/handler.py/CoubletMouseEventHandler._on_timeout/original