示例#1
0
 def onMouseOver(self):
     if self._processingMB1:
         self.theme.playButtonSound(self)
         self.pressed = not self.pressed
     else:
         self.highlighted = 1
         self.processAction(self.hoverAction, self.highlighted)
     return Widget.onMouseOver(self)
示例#2
0
 def onMouseOver(self):
     if self._processingMB1:
         self.theme.playButtonSound(self)
         self.pressed = not self.pressed
     else:
         self.highlighted = 1
         self.processAction(self.hoverAction, self.highlighted)
     return Widget.onMouseOver(self)
示例#3
0
文件: Check.py 项目: Lukc/ospace-lukc
	def onMouseOver(self):
		if self._processingMB1:
			self.checked = not self.checked
		return Widget.onMouseOver(self)
示例#4
0
	def onMouseOver(self):
		if self._processingMB1:
			self.theme.playButtonSound(self)
			self.pressed = not self.pressed
		return Widget.onMouseOver(self)
示例#5
0
 def onMouseOver(self):
     if self._processingMB1:
         self.checked = not self.checked
     return Widget.onMouseOver(self)
示例#6
0
 def onMouseOver(self):
     if self._processingMB1:
         self.theme.playButtonSound(self)
         self.pressed = not self.pressed
     return Widget.onMouseOver(self)