CodeFileTreeNode.py
changeset 1767 c74815729afd
parent 1766 c1e5b9f19483
child 1768 691083b5682a
equal deleted inserted replaced
1766:c1e5b9f19483 1767:c74815729afd
   198     def CTNGlobalInstances(self):
   198     def CTNGlobalInstances(self):
   199         variables = self.CodeFileVariables(self.CodeFile)
   199         variables = self.CodeFileVariables(self.CodeFile)
   200         ret = [(variable.getname(),
   200         ret = [(variable.getname(),
   201                 variable.gettype(),
   201                 variable.gettype(),
   202                 variable.getinitial())
   202                 variable.getinitial())
   203                 for variable in variables]
   203                for variable in variables]
   204         ret.extend([("On"+variable.getname()+"Change", "python_poll", "")
   204         ret.extend([("On"+variable.getname()+"Change", "python_poll", "")
   205                 for variable in variables
   205                 for variable in variables
   206                 if variable.getonchange()])
   206                 if variable.getonchange()])
   207         return ret
   207         return ret
   208 
   208