def _find_parameter(self, name_list, create_missing=False, quiet=False):
<EOL>s = list(name_list)<EOL>if len(s)==<NUM_LIT:0>: return self._widget<EOL>r = self._clean_up_name(s.pop(<NUM_LIT:0>))<EOL>result = self._widget.findItems(r, _g.QtCore.Qt.MatchCaseSensitive | _g.QtCore.Qt.MatchFixedString)<EOL>if len(result) == <NUM_LIT:0> and not create_missing:<EOL><INDENT>if not quiet: self.print_message("<STR_LIT>"+r+"<STR_LIT:'>")<EOL>return None<EOL><DEDENT>elif len(result): x = result[<NUM_LIT:0>].param<EOL>else:<EOL><INDENT>x = _g.parametertree.Parameter.create(name=r, type='<STR_LIT>', children=[])<EOL>self._widget.addParameters(x)<EOL><DEDENT>for n in s:<EOL><INDENT>n = self._clean_up_name(n)<EOL>try: x = x.param(n)<EOL>except:<EOL><INDENT>if create_missing: x = x.addChild(_g.parametertree.Parameter.create(name=n, type='<STR_LIT>', children=[]))<EOL>else:<EOL><INDENT>if not quiet: self.print_message("<STR_LIT>"+n+"<STR_LIT>"+x.name()+"<STR_LIT:'>")<EOL>return None<EOL><DEDENT><DEDENT><DEDENT>return x<EOL>
Tries to find and return the parameter of the specified name. The name
should be of the form

['branch1','branch2', 'parametername']

Setting create_missing=True means if it doesn't find a branch it
will create one.

Setting quiet=True will suppress error messages (for checking)