Changeset 2930

Show
Ignore:
Timestamp:
03/18/07 10:33:22 (2 years ago)
Author:
paul
Message:

Added showCommandWindow() method to dApp (could have sworn it was there long ago).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/dApp.py

    r2853 r2930  
    571571                self.dbConnectionNameToFiles[k] = connFile 
    572572     
     573    def showCommandWindow(self, context=None): 
     574        """Shows a command window with a full Python interpreter. 
     575 
     576        This is great for debugging during development, but you should turn off 
     577        app.ShowCommandWindowMenu in production, perhaps leaving backdoor  
     578        access to this function. 
     579 
     580        The context argument tells dShell what object becomes 'self'. If not 
     581        passed, context will be app.ActiveForm. 
     582        """ 
     583        self.uiApp.showCommandWindow(context) 
     584 
    573585 
    574586    ########################