code: def set_value(self, column=0, row=0, value='', block_events=False):
          
  
          if block_events: self.block_events()
  
          # dynamically resize
          while column > self._widget.columnCount()-1: self._widget.insertColumn(self._widget.columnCount())
          while row    > self._widget.rowCount()   -1: self._widget.insertRow(   self._widget.rowCount())
  
          # set the value
          self._widget.setItem(row, column, _g.Qt.QtGui.QTableWidgetItem(str(value)))
  
          if block_events: self.unblock_events()
  
          return self
docs: Sets the value at column, row. This will create elements dynamically,
          and in a totally stupid while-looping way.
  
          Setting block_events=True will temporarily block the widget from
          sending any signals when setting the value.