code: def display_widgets(self):
          
          # All widgets are removed and then recreated to ensure the order they
          # were created is the order they are displayed.
  
          for child in self.children:
  
              if child.displayable:
  
                  # forget the widget
                  if self.layout != "grid":
                      child.tk.pack_forget()
                  else:
                      child.tk.grid_forget()
  
                  # display the widget
                  if child.visible:
                      if self.layout != "grid":
                          self._pack_widget(child)
                      else:
                          self._grid_widget(child)
docs: Displays all the widgets associated with this Container.
  
          Should be called when the widgets need to be "re-packed/gridded".