Ejemplo n.º 1
0
 def onTags(self, evt):
     table = self.GetTable()
     pos = self.GetGridCursorRow()
     currentStep = table.steps[pos]
     dlg = TagDialog(self, currentStep.tags())
     if (dlg.ShowModal() == wx.ID_OK):
         currentStep.setTags(dlg.tags())
     dlg.Destroy()
Ejemplo n.º 2
0
 def onDoubleClick(self, evt):
     dlg = TagDialog(self, self.theTags)
     if (dlg.ShowModal() == wx.ID_OK):
         self.theTags = dlg.tags()
     self.SetValue(",".join(self.theTags))