MCPcopy Create free account
hub / github.com/e2b-dev/desktop / double_click

Method double_click

packages/python-sdk/e2b_desktop/main.py:359–365  ·  view source on GitHub ↗

Double left click on the mouse position.

(self, x: Optional[int] = None, y: Optional[int] = None)

Source from the content-addressed store, hash-verified

357 self.commands.run("xdotool click 1")
358
359 def double_click(self, x: Optional[int] = None, y: Optional[int] = None):
360 """
361 Double left click on the mouse position.
362 """
363 if x and y:
364 self.move_mouse(x, y)
365 self.commands.run("xdotool click --repeat 2 1")
366
367 def right_click(self, x: Optional[int] = None, y: Optional[int] = None):
368 if (x is None) != (y is None):

Callers

nothing calls this directly

Calls 1

move_mouseMethod · 0.95

Tested by

no test coverage detected