コード例 #1
0
ファイル: slider.py プロジェクト: webiumsk/WOT-0.9.15.1
 def __init__(self, component, isHorizontal = True):
     PyGUIBase.__init__(self, component)
     DraggableComponent.__init__(self, isHorizontal, not isHorizontal, True)
     self.component.focus = True
     self.component.mouseButtonFocus = True
     self.component.moveFocus = True
     self.component.crossFocus = True
     self.onDragging = self._onDragging
コード例 #2
0
ファイル: pyguislider.py プロジェクト: kusaku/wot_scripts
 def __init__(self, component, isHorizontal = True):
     PyGUIBase.__init__(self, component)
     DraggableComponent.__init__(self, isHorizontal, not isHorizontal, True)
     self.component.focus = True
     self.component.mouseButtonFocus = True
     self.component.moveFocus = True
     self.component.crossFocus = True
     self.onDragging = self._onDragging
コード例 #3
0
 def __init__(self,
              component,
              horzDrag=True,
              vertDrag=True,
              restrictToParent=True):
     Window.__init__(self, component)
     DraggableComponent.__init__(self, horzDrag, vertDrag, restrictToParent)
     component.script = self
     self.onBeginDrag = self._onBeginDrag
コード例 #4
0
ファイル: window.py プロジェクト: webiumsk/WOT-0.9.15-CT
 def __init__(self, component, horzDrag = True, vertDrag = True, restrictToParent = True):
     Window.__init__(self, component)
     DraggableComponent.__init__(self, horzDrag, vertDrag, restrictToParent)
     component.script = self
     self.onBeginDrag = self._onBeginDrag