code: def show_sidebar_button_info(python_input):
      
      @if_mousedown
      def toggle_sidebar(mouse_event):
          " Click handler for the menu. "
          python_input.show_sidebar = not python_input.show_sidebar
  
      version = sys.version_info
      tokens = [
          ('class:status-toolbar.key', '[F2]', toggle_sidebar),
          ('class:status-toolbar', ' Menu', toggle_sidebar),
          ('class:status-toolbar', ' - '),
          ('class:status-toolbar.python-version', '%s %i.%i.%i' % (platform.python_implementation(),
                                                 version[0], version[1], version[2])),
          ('class:status-toolbar', ' '),
      ]
      width = fragment_list_width(tokens)
  
      def get_text_fragments():
          # Python version
          return tokens
  
      return ConditionalContainer(
          content=Window(
              FormattedTextControl(get_text_fragments),
              style='class:status-toolbar',
              height=Dimension.exact(1),
              width=Dimension.exact(width)),
          filter=~is_done & renderer_height_is_known &
              Condition(lambda: python_input.show_status_bar and
                                    not python_input.show_exit_confirmation))
docs: Create `Layout` for the information in the right-bottom corner.
      (The right part of the status bar.)