def _create_well_choice(self):
self.index2uid = []
items = []
for well in self._OM.list('well'):
uid = well.uid
name = well.name
self.index2uid.append(uid)
items.append(name)
well_choice = wx.Choice(self)
well_choice.AppendItems(items)
well_choice.Bind(wx.EVT_CHOICE, self.on_well_choice)
return well_choice
评论列表
文章目录