Author: bugman Date: Thu Dec 30 23:34:52 2010 New Revision: 12057 URL: http://svn.gna.org/viewcvs/relax?rev=12057&view=rev Log: The tooltip arg to combo_box is now later in the order to avoid breakages. Modified: branches/bieri_gui/gui_bieri/user_functions/base.py Modified: branches/bieri_gui/gui_bieri/user_functions/base.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/user_functions/base.py?rev=12057&r1=12056&r2=12057&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/user_functions/base.py (original) +++ branches/bieri_gui/gui_bieri/user_functions/base.py Thu Dec 30 23:34:52 2010 @@ -392,7 +392,7 @@ sizer.AddStretchSpacer() - def combo_box(self, sizer, desc, choices, tooltip=None, evt_fn=None, divider=None, padding=0, spacer=None, read_only=True): + def combo_box(self, sizer, desc, choices, evt_fn=None, tooltip=None, divider=None, padding=0, spacer=None, read_only=True): """Build the combo box widget for list selections. @param sizer: The sizer to put the combo box widget into. @@ -401,10 +401,10 @@ @type desc: str @param choices: The list of choices. @type choices: list of str + @param evt_fn: The event handling function. + @type evt_fn: func @keyword tooltip: The tooltip which appears on hovering over the text or input field. @type tooltip: str - @param evt_fn: The event handling function. - @type evt_fn: func @keyword divider: The optional position of the divider. If None, the class variable div_left will be used. @type divider: None or int @keyword padding: Spacing to the left and right of the widgets.