def __init__(self, ws_count, width=1920, height=1080): # some predefined variables differ from their default value for multitouch case if run_mode == 'slide': self.enable_slide = True else: self.enable_border_slide = True self.slide_threshold = 50 self.prevent_edge = False # call parent ContainerBase.__init__(self, ws_count=ws_count, width=width, height=height) print 'start at', time.strftime('%H:%M:%S %y/%m/%d', time.localtime()) if run_mode == 'border': print 'mode : hold and drag' else: print 'mode : bimanual multitouch'
def __init__(self, ws_count, width=1920, height=1080): # call parent ContainerBase.__init__(self, ws_count=ws_count, width=width, height=height) print 'start at', time.strftime('%H:%M:%S %y/%m/%d', time.localtime()) print 'mode : bimanual neartouch'