def OnCellBorderColor(self, event):
        """Cell border color event handler"""

        with undo.group(_("Border color")):
            self.grid.actions.set_border_attr("bordercolor",
                                              event.color, event.borders)

        self.grid.ForceRefresh()

        self.grid.update_attribute_toolbar()

        event.Skip()
def OnCellBorderColor ( self , event ) : with undo . group ( _ ( "Border color" ) ) : self . grid . actions . set_border_attr ( "bordercolor" , event . color , event . borders ) self . grid . ForceRefresh ( ) self . grid . update_attribute_toolbar ( ) event . Skip ( )
Cell border color event handler