def METHOD_NAME(self, settings):
    (paths,outputs,IOstate)=settings
    for key in paths.keys():
        self.pathNameToButton[key].SetValue(paths[key])
    for i,state in enumerate(IOstate):
        #proabbyl safer not to change IO state here
        #self.callbacks['setIOstate'](i,state)
        if state:
            self.callbacks['write line'](i,outputs[i])