mailr16276 - /branches/uf_redesign/gui/uf_objects.py


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

Header


Content

Posted by edward on May 13, 2012 - 12:51:
Author: bugman
Date: Sun May 13 12:51:58 2012
New Revision: 16276

URL: http://svn.gna.org/viewcvs/relax?rev=16276&view=rev
Log:
The Uf_page.create_page() method now accepts the 'sync' arg for deciding user 
function operation.


Modified:
    branches/uf_redesign/gui/uf_objects.py

Modified: branches/uf_redesign/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16276&r1=16275&r2=16276&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Sun May 13 12:51:58 2012
@@ -58,7 +58,7 @@
         wizard = Wiz_window(parent=self._parent, size_x=self._size[0], 
size_y=self._size[1], title=self._title)
 
         # Create the page.
-        page = self.create_page(wizard)
+        page = self.create_page(wizard, sync=self._sync)
 
         # Add the page to the wizard.
         wizard.add_page(page, apply_button=self._apply_button)
@@ -96,11 +96,13 @@
         self._sync = sync
 
 
-    def create_page(self, wizard=None):
+    def create_page(self, wizard=None, sync=False):
         """Create the user function page object.
 
         @keyword wizard:    The parent wizard.
         @type wizard:       Wiz_window instance
+        @keyword sync:      A flag which if True will call user functions 
via interpreter.apply and if False via interpreter.queue.
+        @type sync:         bool
         @return:            The user function page object.
         @rtype:             Uf_page instance
         """




Related Messages


Powered by MHonArc, Updated Sun May 13 13:00:02 2012