parameters: (self)
docstring: Updates the information shown in the tk widget
docstring_summary: Updates the information shown in the tk widget
docstring_tokens: Updates the information shown in the tk widget
function: def updateWidget(self):
          """ Updates the information shown in the tk widget """
          for grid_row in range(self.number_of_grid_rows):
              #determine what the background color should be (plain/hidden/highlight)
              try:
                  self.hidden_index.index(self.diplayed_item_idecies[grid_row]) #if this doesn't crash then this item should be "hidden"
                  #the item index is in the list of hidden items, set the background to gray
                  self.item_views[grid_row].config(fg="grey60", bg="linen")
              except: #the item index was not in the list of hidden items, see if it is completed or not
                  try:
                      self.completed_index.index(self.diplayed_item_idecies[grid_row])  #if this doesn't crash then this item should be "completed"
                      self.item_views[grid_row].config(fg="black", bg="PaleGreen")
                  except:  #the item index was not in the list of completed items, see if it is active or not
                      if (self.diplayed_item_idecies[grid_row] == self.active_index): #if this is the active item highlight it
                          self.item_views[grid_row].config(fg="black", bg="yellow")
                      else:
                          self.item_views[grid_row].config(fg="black", bg="linen")
function_tokens: def updateWidget ( self ) : for grid_row in range ( self . number_of_grid_rows ) : #determine what the background color should be (plain/hidden/highlight) try : self . hidden_index . index ( self . diplayed_item_idecies [ grid_row ] ) #if this doesn't crash then this item should be "hidden" #the item index is in the list of hidden items, set the background to gray self . item_views [ grid_row ] . config ( fg = "grey60" , bg = "linen" ) except : #the item index was not in the list of hidden items, see if it is completed or not try : self . completed_index . index ( self . diplayed_item_idecies [ grid_row ] ) #if this doesn't crash then this item should be "completed" self . item_views [ grid_row ] . config ( fg = "black" , bg = "PaleGreen" ) except : #the item index was not in the list of completed items, see if it is active or not if ( self . diplayed_item_idecies [ grid_row ] == self . active_index ) : #if this is the active item highlight it self . item_views [ grid_row ] . config ( fg = "black" , bg = "yellow" ) else : self . item_views [ grid_row ] . config ( fg = "black" , bg = "linen" )