Set the options from a dict of values (in string).
        
        :param option_values: the values of options (in format `{"opt_name": "new_value"}`)
        :type option_values: dict
        :param parse: whether to parse the given value
        :type parse: bool
        :param strict: if True the given `option_values` dict should only 
         contains existing options (no other key)
        :type strict: bool

def set_options_values(self, options, parse=False, strict=False):
        """ Set the options from a dict of values (in string).
        
        :param option_values: the values of options (in format `{"opt_name": "new_value"}`)
        :type option_values: dict
        :param parse: whether to parse the given value
        :type parse: bool
        :param strict: if True the given `option_values` dict should only 
         contains existing options (no other key)
        :type strict: bool
        """
        if strict:
            for opt_name in options.keys():
                if not self.has_option(opt_name):
                    raise ValueError("'%s' is not a option of the component" % opt_name)
                elif self.option_is_hidden(opt_name):
                    raise ValueError("'%s' is hidden, you can't set it" % opt_name)
        for opt_name, opt in self._options.items():
            if opt.hidden:
                continue
            if opt_name in options:
                opt.set(options[opt_name], parse=parse)