code: def OnCellFontUnderline(self, event):
          
  
          with undo.group(_("Underline")):
              self.grid.actions.toggle_attr("underline")
  
          self.grid.ForceRefresh()
  
          self.grid.update_attribute_toolbar()
  
          event.Skip()
docs: Cell font underline event handler