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
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
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
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