def _bind_conditions(self, inputdesc):
for idesc in inputdesc:
if 'conditions' in idesc:
name1 = idesc['name']
for condition in idesc['conditions']:
name2 = condition[0]
widget = self.widgets[name2]
evt_id = wx.NewId()
widget.bind(self._process_event, evt_id)
self.eventmap[evt_id] = (name1, condition)
#print self.eventmap
评论列表
文章目录