equal
deleted
inserted
replaced
142 'action_'+name, |
142 'action_'+name, |
143 annotate.Method(arguments=[ |
143 annotate.Method(arguments=[ |
144 annotate.Argument(name, fieldtype) |
144 annotate.Argument(name, fieldtype) |
145 for fieldname,fieldtype in fields], |
145 for fieldname,fieldtype in fields], |
146 label = desc), |
146 label = desc), |
147 action = btnlabel)) |
147 action = btnlabel) |
148 setattr(self, 'bind_'+name, _bind) |
148 setattr(self, 'bind_'+name, _bind) |
149 |
149 |
150 setattr(self, 'action_'+name, callback) |
150 setattr(self, 'action_'+name, callback) |
151 |
151 |
152 self.bindingsNames.append(name) |
152 self.bindingsNames.append(name) |