Author: bugman Date: Wed May 2 17:14:22 2012 New Revision: 15876 URL: http://svn.gna.org/viewcvs/relax?rev=15876&view=rev Log: The element_string_list() wizard method now has all arguments converted to keyword args. Modified: 1.3/gui/user_functions/bmrb.py 1.3/gui/wizard.py Modified: 1.3/gui/user_functions/bmrb.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/bmrb.py?rev=15876&r1=15875&r2=15876&view=diff ============================================================================== --- 1.3/gui/user_functions/bmrb.py (original) +++ 1.3/gui/user_functions/bmrb.py Wed May 2 17:14:22 2012 @@ -62,7 +62,7 @@ # The fields. self.cite_id = self.input_field(sizer, "The citation ID:", tooltip=self.uf._doc_args_dict['cite_id']) - self.authors = self.element_string_list('authors', sizer, "The author list:", tooltip=self.uf._doc_args_dict['authors']) + self.authors = self.element_string_list(key='authors', sizer=sizer, desc="The author list:", tooltip=self.uf._doc_args_dict['authors']) def on_execute(self): Modified: 1.3/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/wizard.py?rev=15876&r1=15875&r2=15876&view=diff ============================================================================== --- 1.3/gui/wizard.py (original) +++ 1.3/gui/wizard.py Wed May 2 17:14:22 2012 @@ -551,12 +551,14 @@ return combo - def element_string_list(self, key, sizer, desc, tooltip=None, divider=None, padding=0, spacer=None): + def element_string_list(self, key=None, sizer=None, desc=None, tooltip=None, divider=None, padding=0, spacer=None): """Set up the element and store it. - @param sizer: The sizer to put the input field widget into. + @keyword key: The dictionary key to store the element with. + @type key: str + @keyword sizer: The sizer to put the input field widget into. @type sizer: wx.Sizer instance - @param desc: The text description. + @keyword desc: The text description. @type desc: str @keyword tooltip: The tooltip which appears on hovering over the text or input field. @type tooltip: str