Author: bugman Date: Wed May 23 20:28:33 2012 New Revision: 16424 URL: http://svn.gna.org/viewcvs/relax?rev=16424&view=rev Log: All the wizard method 'event' args have been converted to keyword args. This is for better remote control, for example by the GUI tests. Modified: branches/uf_redesign/gui/wizard.py Modified: branches/uf_redesign/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/wizard.py?rev=16424&r1=16423&r2=16424&view=diff ============================================================================== --- branches/uf_redesign/gui/wizard.py (original) +++ branches/uf_redesign/gui/wizard.py Wed May 23 20:28:33 2012 @@ -154,10 +154,10 @@ sizer.AddSpacer(10) - def _apply(self, event): + def _apply(self, event=None): """Apply the operation. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """ @@ -679,10 +679,10 @@ """ - def preview_file(self, event): + def preview_file(self, event=None): """Preview a file. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """ @@ -1150,10 +1150,10 @@ self._buttons_built = True - def _cancel(self, event): + def _cancel(self, event=None): """Cancel the operation. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """ @@ -1189,10 +1189,10 @@ self._pages[i].on_init() - def _go_back(self, event): + def _go_back(self, event=None): """Return to the previous page. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """ @@ -1203,10 +1203,10 @@ self._display_page(self._current_page) - def _go_next(self, event): + def _go_next(self, event=None): """Move to the next page. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """ @@ -1262,10 +1262,10 @@ return self._current_page + 1 - def _ok(self, event): + def _ok(self, event=None): """Accept the operation. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """ @@ -1318,10 +1318,10 @@ yield next - def _skip(self, event): + def _skip(self, event=None): """Skip the page. - @param event: The wx event. + @keyword event: The wx event. @type event: wx event """