Author: bugman Date: Sun Apr 21 15:13:32 2013 New Revision: 19534 URL: http://svn.gna.org/viewcvs/relax?rev=19534&view=rev Log: The model selection GUI analysis element can now have a different tooltip for the button. Modified: trunk/gui/analyses/elements/model_list.py Modified: trunk/gui/analyses/elements/model_list.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/analyses/elements/model_list.py?rev=19534&r1=19533&r2=19534&view=diff ============================================================================== --- trunk/gui/analyses/elements/model_list.py (original) +++ trunk/gui/analyses/elements/model_list.py Sun Apr 21 15:13:32 2013 @@ -55,7 +55,10 @@ """A flag which if True will cause the flag icon to turn red if the model list has been modified.""" tooltip = None - """The tooltip string to add to all wx GUI elements.""" + """The tooltip string to add to the text and field wx GUI elements.""" + + tooltip_button = None + """The separate tooltip string to add to the button wx GUI element.""" def __init__(self, parent, box): @@ -100,7 +103,8 @@ if self.tooltip: label.SetToolTipString(self.tooltip) self.field.SetToolTipString(self.tooltip) - self.button.SetToolTipString(self.tooltip) + if self.tooltip_button: + self.button.SetToolTipString(self.tooltip_button) # Add the contents to the main box. box.Add(sizer, 0, wx.ALL|wx.EXPAND, 0)