Author: bugman Date: Tue Jul 26 12:29:32 2011 New Revision: 13879 URL: http://svn.gna.org/viewcvs/relax?rev=13879&view=rev Log: The add_button_open() analysis base class method now returns the button. Modified: branches/gui_testing/gui/analyses/base.py Modified: branches/gui_testing/gui/analyses/base.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/base.py?rev=13879&r1=13878&r2=13879&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/base.py (original) +++ branches/gui_testing/gui/analyses/base.py Tue Jul 26 12:29:32 2011 @@ -110,6 +110,8 @@ @type width: int @keyword height: The minimum height of the control. @type height: int + @return: The button. + @rtype: wx.lib.buttons.ThemedGenBitmapTextButton instance """ # The button. @@ -125,6 +127,9 @@ # Add the button to the box. box.Add(button, 0, wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0) + + # Return the button. + return button def add_execute_relax(self, box, method):