def set_value(self, name, value, ignore_error=False, block_user_signals=False):
<EOL>name = self._clean_up_name(name)<EOL>if block_user_signals: self.block_user_signals(name, ignore_error)        <EOL>x = self._find_parameter(name.split('<STR_LIT:/>'), quiet=ignore_error)<EOL>if x == None: return None<EOL>if x.type() in ['<STR_LIT:list>']:<EOL><INDENT>if str(value) in list(x.forward.keys()): x.setValue(str(value))<EOL>else: x.setValue(list(x.forward.keys())[<NUM_LIT:0>])<EOL><DEDENT>else: x.setValue(eval(x.opts['<STR_LIT:type>'])(value))<EOL>if block_user_signals: self.unblock_user_signals(name, ignore_error)<EOL>return self<EOL>
Sets the variable of the supplied name to the supplied value.

Setting block_user_signals=True will temporarily block the widget from
sending any signals when setting the value.