code: def _set_main_widget(self, widget, redraw):
          
          self.set_body(widget)
          self.reload_footer()
          if redraw:
              logger.debug("redraw main widget")
              self.refresh()
docs: add provided widget to widget list and display it
  
          :param widget:
          :return: