original_docstring:  Clears the GUI components associated with an employee 
docstring: Clears the GUI components associated with an employee
docstring_tokens: Clears the GUI components associated with an employee
code: def clearEmployee(Employee):
      """ Clears the GUI components associated with an employee """
      # Global Variables
      global hostAssigned
      global attendingCount
      global lblCount
  
      # Decrement attendance counter and update label
      attendingCount -= 1
      lblCount.set(const.ATTENDING + ': ' + str(attendingCount))
  
      # Reset attending checkbutton
      Employee.attendingBtnVal.set(OFF)
      Employee.checkBtnAttending['text'] = const.ATTENDING  
  
      # Reset presented checkbutton
      Employee.presentedBtnVal.set(OFF)
      Employee.checkBtnPresented['text'] = const.TO_PRESENT
      Employee.checkBtnPresented['state'] = DISABLED
  
      # Disable employee label
      Employee.label['state'] = DISABLED
      Employee.label['cursor'] = 'arrow'
      if const.HOST in Employee.lblText.get():
          Employee.lblText.set(Employee.name)
          hostAssigned = False
code_tokens: def clearEmployee ( Employee ) : global hostAssigned global attendingCount global lblCount attendingCount -= 1 lblCount . set ( const . ATTENDING + ': ' + str ( attendingCount ) ) Employee . attendingBtnVal . set ( OFF ) Employee . checkBtnAttending [ 'text' ] = const . ATTENDING Employee . presentedBtnVal . set ( OFF ) Employee . checkBtnPresented [ 'text' ] = const . TO_PRESENT Employee . checkBtnPresented [ 'state' ] = DISABLED Employee . label [ 'state' ] = DISABLED Employee . label [ 'cursor' ] = 'arrow' if const . HOST in Employee . lblText . get ( ) : Employee . lblText . set ( Employee . name ) hostAssigned = False
short_docstring: Clears the GUI components associated with an employee
short_docstring_tokens: Clears the GUI components associated with an employee
comment: """ Clears the GUI components associated with an employee """$SEP$# Global Variables
  $SEP$# Decrement attendance counter and update label
  $SEP$# Reset attending checkbutton
  $SEP$# Reset presented checkbutton
  $SEP$# Disable employee label
  