Skip to content
pepijndevos edited this page Sep 13, 2010 · 1 revision
pymouse.PyMouseMeta = class PyMouseMeta(__builtin__.object)
 |  Methods defined here:
 |  
 |  click(self, x, y, button=1)
 |      Click the mouse on a givven x, y and button.
 |      Button is defined as 1 = left, 2 = right, 3 = middle.
 |  
 |  move(self, x, y)
 |      Move the mouse to a givven x and y
 |  
 |  position(self)
 |      Get the current mouse position in pixels.
 |      Returns a tuple of 2 integers
 |  
 |  press(self, x, y, button=1)
 |      Press the mouse on a givven x, y and button.
 |      Button is defined as 1 = left, 2 = right, 3 = middle.
 |  
 |  release(self, x, y, button=1)
 |      Release the mouse on a givven x, y and button.
 |      Button is defined as 1 = left, 2 = right, 3 = middle.
 |  
 |  screen_size(self)
 |      Get the current screen size in pixels.
 |      Returns a tuple of 2 integers
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  
 |  __dict__
 |      dictionary for instance variables (if defined)
 |  
 |  __weakref__
 |      list of weak references to the object (if defined)
Clone this wiki locally