def lcmsymbol(self):
     """
     B{LCM} menuitem handler.
     It used to draw the lcm symbol at current grid cursor in grid panel.
     """
     col = self.curcol
     if self.currow > 0 and col > 0 and col + 3 < self.grid.GetNumberCols():  
         for i in range(5):
             col = col + 1
             self.grid.SetCellRenderer(self.currow,col,render.myHbyrenderer())
         self.grid.SetCellRenderer(self.currow,self.curcol,render.mylcmrenderer())
         self.grid.MoveCursorUp(False)
         self.currow = self.currow - 1 
         #if self.currow <= 1:
         self.grid.SetCellRenderer(self.currow,self.curcol,render.myVbyrenderer())
         self.grid.MoveCursorRight(False)
         
     self.grid.Refresh()
     self.grid.SetFocus()
 def divsymbol(self):
     """
     B{DIV} menuitem handler.
     It used to draw the division symbol at current grid cursor in grid panel.
     """
     col = self.curcol
     if self.currow > 0 and col > 0 and col + 3 < self.grid.GetNumberCols():
         for i in range(5):
             col = col + 1
             self.grid.SetCellRenderer(self.currow,col,render.myHbyrenderer())
         
         self.grid.SetCellRenderer(self.currow,self.curcol,render.mydivrenderer())
         self.grid.MoveCursorDown(False)
         self.currow = self.currow + 1  
        # if self.currow <= self.grid.GetNumberRows():
         self.grid.SetCellRenderer(self.currow,self.curcol,render.myVbyrenderer())
         self.grid.MoveCursorRight(False)
         
     self.grid.Refresh()
     self.grid.SetFocus()