def set_value(self, value, block_events=False):
if block_events: self.block_events()<EOL>self._widget.setValue(value)<EOL>if block_events: self.unblock_events()<EOL>
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.