]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_app_ex.py
reSWIGged
[wxWidgets.git] / wxPython / src / _app_ex.py
index de885de22ecfec14184d9b06b9ad5b7a2427c5c4..492f91a93f8c61a3732ce5f1f0ed9124f6b8b209 100644 (file)
@@ -118,17 +118,20 @@ your Mac."""
 
 
     def SetTopWindow(self, frame):
+        """Set the \"main\" top level window"""
         if self.stdioWin:
             self.stdioWin.SetParent(frame)
         wx.PyApp.SetTopWindow(self, frame)
 
 
     def MainLoop(self):
+        """Execute the main GUI event loop"""
         wx.PyApp.MainLoop(self)
         self.RestoreStdio()
 
 
     def RedirectStdio(self, filename):
+        """Redirect sys.stdout and sys.stderr to a file or a popup window."""
         if filename:
             _sys.stdout = _sys.stderr = open(filename, 'a')
         else: