def OnCellClicked(self, event): cell = event.GetCell() self.log.WriteText('OnCellClicked: %s\n' % (cell)) if isinstance(cell, html.HtmlWordCell): sel = html.HtmlSelection() self.log.WriteText(' %s\n' % cell.ConvertToText(sel)) event.Skip()
def OnCellClicked(self, cell, x, y, evt): #self.log.WriteText('OnCellClicked: %s, (%d %d)\n' % (cell, x, y)) if isinstance(cell, html.HtmlWordCell): sel = html.HtmlSelection() #self.log.WriteText(' %s\n' % cell.ConvertToText(sel)) super(MyHtmlWindow, self).OnCellClicked(cell, x, y, evt) return True
def OnCellClicked(self, cell, x, y, evt): self.log.WriteText('OnCellClicked: %s, (%d %d)\n' % (cell, x, y)) if isinstance(cell, html.HtmlWordCell): sel = html.HtmlSelection() self.log.WriteText(' %s\n' % cell.ConvertToText(sel)) self.base_OnCellClicked(cell, x, y, evt)