D | multicall.py | 82 def bind(self, triplet, func): argument 98 def unbind(self, triplet, func): argument 213 def bind(self, triplet, func): argument 214 if triplet[2] not in self.bindedfuncs: 215 self.bindedfuncs[triplet[2]] = [[] for s in _states] 218 for detail in (triplet[2], None) 222 seq = "<%s%s-%s>"% (_state_names[s], self.typename, triplet[2]) 225 doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].append(func) 231 def unbind(self, triplet, func): argument 232 doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func) [all …]
|