def listOfPropertyHints (self): nameList = tpc.getListOfPluginPropertyNames (self.plugin) aList = [] for i in range (0, len (nameList)): name = nameList[i] handle = tpc.getPluginProperty(self.plugin, nameList[i]) descr = tpc.getPropertyHint(handle) aList.append ([name, descr]) return aList
def listOfPropertyHints(self): nameList = tpc.getListOfPluginPropertyNames(self.plugin) aList = [] for i in range(0, len(nameList)): name = nameList[i] handle = tpc.getPluginProperty(self.plugin, nameList[i]) descr = tpc.getPropertyHint(handle) aList.append([name, descr]) return aList
def listOfProperties (self): if not self: return [] nameList = tpc.getListOfPluginPropertyNames (self.plugin) aList = [] for i in range (0, len (nameList)): name = nameList[i] handle = tpc.getPluginProperty(self.plugin, nameList[i]) hint = tpc.getPropertyHint(handle) aList.append ([name, hint]) return aList
def listOfProperties(self): if not self: return [] nameList = tpc.getListOfPluginPropertyNames(self.plugin) aList = [] for i in range(0, len(nameList)): name = nameList[i] handle = tpc.getPluginProperty(self.plugin, nameList[i]) hint = tpc.getPropertyHint(handle) aList.append([name, hint]) return aList