mailr14225 - in /branches/gui_testing/gui/analyses: auto_model_free.py auto_noe.py auto_rx_base.py base.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 06, 2011 - 22:26:
Author: bugman
Date: Sat Aug  6 22:26:04 2011
New Revision: 14225

URL: http://svn.gna.org/viewcvs/relax?rev=14225&view=rev
Log:
The analysis base class add_execute_relax() method now returns the button.


Modified:
    branches/gui_testing/gui/analyses/auto_model_free.py
    branches/gui_testing/gui/analyses/auto_noe.py
    branches/gui_testing/gui/analyses/auto_rx_base.py
    branches/gui_testing/gui/analyses/base.py

Modified: branches/gui_testing/gui/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_model_free.py?rev=14225&r1=14224&r2=14225&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/auto_model_free.py (original)
+++ branches/gui_testing/gui/analyses/auto_model_free.py Sat Aug  6 22:26:04 
2011
@@ -513,7 +513,7 @@
         box.AddStretchSpacer()
 
         # Add the execution GUI element.
-        self.button_exec_id = self.add_execute_relax(box, self.execute)
+        self.button_exec_relax = self.add_execute_relax(box, self.execute)
 
         # Return the box.
         return box

Modified: branches/gui_testing/gui/analyses/auto_noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_noe.py?rev=14225&r1=14224&r2=14225&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/auto_noe.py (original)
+++ branches/gui_testing/gui/analyses/auto_noe.py Sat Aug  6 22:26:04 2011
@@ -193,7 +193,7 @@
         box.AddStretchSpacer()
 
         # Add the execution GUI element.
-        self.button_exec_id = self.add_execute_relax(box, self.execute)
+        self.button_exec_relax = self.add_execute_relax(box, self.execute)
 
         # Return the box.
         return box

Modified: branches/gui_testing/gui/analyses/auto_rx_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_rx_base.py?rev=14225&r1=14224&r2=14225&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/auto_rx_base.py (original)
+++ branches/gui_testing/gui/analyses/auto_rx_base.py Sat Aug  6 22:26:04 2011
@@ -207,7 +207,7 @@
         box.AddStretchSpacer()
 
         # Add the execution GUI element.
-        self.button_exec_id = self.add_execute_relax(box, self.execute)
+        self.button_exec_relax = self.add_execute_relax(box, self.execute)
 
         # Return the box.
         return box

Modified: branches/gui_testing/gui/analyses/base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/base.py?rev=14225&r1=14224&r2=14225&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/base.py (original)
+++ branches/gui_testing/gui/analyses/base.py Sat Aug  6 22:26:04 2011
@@ -141,8 +141,8 @@
         @type box:      wx.BoxSizer instance
         @param method:  The method to execute when the button is clicked.
         @type method:   method
-        @return:        The unique ID of the button.
-        @rtype:         int
+        @return:        The button.
+        @rtype:         wx.lib.buttons.ThemedGenBitmapTextButton instance
         """
 
         # A horizontal sizer for the contents.




Related Messages


Powered by MHonArc, Updated Sat Aug 06 22:40:02 2011