mailr13401 - /branches/gui_testing/gui/user_functions/base.py


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

Header


Content

Posted by edward on July 01, 2011 - 20:50:
Author: bugman
Date: Fri Jul  1 20:50:49 2011
New Revision: 13401

URL: http://svn.gna.org/viewcvs/relax?rev=13401&view=rev
Log:
User function completion now triggers 
self.gui.user_functions.notify_observers().

This will allow for GUI updates upon user function completion.


Modified:
    branches/gui_testing/gui/user_functions/base.py

Modified: branches/gui_testing/gui/user_functions/base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/base.py?rev=13401&r1=13400&r2=13401&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/base.py (original)
+++ branches/gui_testing/gui/user_functions/base.py Fri Jul  1 20:50:49 2011
@@ -123,3 +123,10 @@
 
         # Return the text.
         return stripped_text
+
+
+    def on_completion(self):
+        """Notify that the user function has completed."""
+
+        # Notify.
+        self.gui.user_functions.notify_observers()




Related Messages


Powered by MHonArc, Updated Fri Jul 01 21:20:02 2011