示例#1
0
文件: event.py 项目: chrox/psychopy
 def getVisible(self):
     """Gets the visibility of the mouse (1 or 0)
     """
     if usePygame:
         return mouse.get_visible()
     else:
         print "Getting the mouse visibility is not supported under pyglet, but you can set it anyway"
示例#2
0
 def getVisible(self):
     """Gets the visibility of the mouse (1 or 0)
     """
     if usePygame: 
         return mouse.get_visible()
     else: 
         print("Getting the mouse visibility is not supported under pyglet, but you can set it anyway")