code: def set_value(self, value, block_events=False):
          
          if block_events: self.block_events()
          self._widget.setValue(value)
          if block_events: self.unblock_events()
docs: Sets the current value of the number box.
  
          Setting block_events=True will temporarily block the widget from
          sending any signals when setting the value.