Author: bugman Date: Mon Jul 18 11:53:04 2011 New Revision: 13679 URL: http://svn.gna.org/viewcvs/relax?rev=13679&view=rev Log: Created the wizard get_page() method for obtaining a page based on its index. Modified: branches/gui_testing/gui/wizard.py Modified: branches/gui_testing/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13679&r1=13678&r2=13679&view=diff ============================================================================== --- branches/gui_testing/gui/wizard.py (original) +++ branches/gui_testing/gui/wizard.py Mon Jul 18 11:53:04 2011 @@ -1352,6 +1352,19 @@ button.Enable() + def get_page(self, index): + """Get a page from the wizard. + + @param index: The index of the page. + @type index: int + @return: The page object. + @rtype: Wiz_page instance. + """ + + # Return the page. + return self._pages[index] + + def run(self, modal=False): """Execute the wizard.