def newEmptyDocument(self, *args): if len(args) > 0: return ApplicationAdaptor.newEmptyDocument(self, *args) else: return self.newDocument(null)
def newEmptyDocument(self, *args): if len( args ) > 0: return ApplicationAdaptor.newEmptyDocument(self,*args) else: return self.newDocument(null)
def __init__(self): ApplicationAdaptor.__init__(self) script_dir = os.path.dirname(os.path.realpath(__file__)) self.setResourcesParentDirectoryWithPath(script_dir)