code: def insert(self, index, option):
          
          self._options.insert(index, self._parse_option(option))
          self._refresh_options()
          self.resize(self._width, self._height)
docs: Insert a new `option` in the ButtonGroup at `index`.
  
          :param int option:
              The index of where to insert the option.
  
          :param string/List option:
              The option to append to the ButtonGroup. If a 2D list is specified,
              the first element is the text, the second is the value.