def __init__(self, path="autitux.glade", root="mainWindow", domain=app_name, **kwargs): path = os.path.join(glade_dir, path) SimpleGladeApp.__init__(self, path, root, domain, **kwargs) gobject.threads_init() self.coma = autituxhelper.relayCommand()
def goWest(lapse=-1): """ This function takes care of going north """ comma = autituxhelper.relayCommand() comma.toggle(5, 0) comma.toggle(7, 1) if lapse != -1: time.sleep(0.1* int(lapse)) comma.toggle(7,0)