def reset( self ):
        """
        Resets the control values or the generator function and also clears the
        progress bar
        """
        self.canv.delete( 'bar' )
        self.canv.delete( 'text' )
        self.killBtn.configure( state=DISABLED )
        self.targetGen = None
        self.targetArgs = []
        self.targetKwds = []
        self.killVar.set( 0 )
        self.targetIdx = 0
        self.targetLen = 0

        Resets the control values or the generator function and also clears the
        progress bar
        
recipes/Python/576674_StatusMeter_widget_for_Tkinter/recipe-576674.py