parameters: (ui)
return_statement: return closure
docstring: generate a closure that will be called whenever the speedup slider is adjusted
docstring_summary: generate a closure that will be called whenever the speedup slider is adjusted
docstring_tokens: generate a closure that will be called whenever the speedup slider is adjusted
function: def speedup_adjusted(ui):
      """generate a closure that will be called whenever the speedup slider is adjusted"""
      ui.speedupValue.text = str(ui.speedupScroll.getPos())
      getMod().set_speedup(float(ui.speedupScroll.getPos())/100)
      def closure():
          """called whenever the speedup slider is adjusted"""
          ui.speedupValue.text = str(ui.speedupScroll.getPos())
          getMod().set_speedup(float(ui.speedupScroll.getPos())/100)
      return closure
function_tokens: def speedup_adjusted ( ui ) : ui . speedupValue . text = str ( ui . speedupScroll . getPos ( ) ) getMod ( ) . set_speedup ( float ( ui . speedupScroll . getPos ( ) ) / 100 ) def closure ( ) : """called whenever the speedup slider is adjusted""" ui . speedupValue . text = str ( ui . speedupScroll . getPos ( ) ) getMod ( ) . set_speedup ( float ( ui . speedupScroll . getPos ( ) ) / 100 ) return closure