Example #1
0
 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)
Example #3
0
 def __init__(self):
     ApplicationAdaptor.__init__(self)
     script_dir = os.path.dirname(os.path.realpath(__file__))
     self.setResourcesParentDirectoryWithPath(script_dir)
	def __init__(self):
		ApplicationAdaptor.__init__(self)
		script_dir = os.path.dirname(os.path.realpath(__file__))
		self.setResourcesParentDirectoryWithPath(script_dir)