parameters: (self)
return_statement: return menu
docstring: Create and return a context menu for the shell.
              This is used instead of the scintilla default menu
              in order to correctly respect our immutable buffer.
docstring_summary: Create and return a context menu for the shell.
              This is used instead of the scintilla default menu
              in order to correctly respect our immutable buffer.
docstring_tokens: Create and return a context menu for the shell . This is used instead of the scintilla default menu in order to correctly respect our immutable buffer .
function: def GetContextMenu(self):
          """
              Create and return a context menu for the shell.
              This is used instead of the scintilla default menu
              in order to correctly respect our immutable buffer.
          """
          menu = wx.Menu()
          menu.Append(wx.ID_UNDO, "Undo")
          menu.Append(wx.ID_REDO, "Redo")
          
          menu.AppendSeparator()
          
          menu.Append(wx.ID_CUT, "Cut")
          menu.Append(wx.ID_COPY, "Copy")
          menu.Append(frame.ID_COPY_PLUS, "Copy Plus")
          menu.Append(wx.ID_PASTE, "Paste")
          menu.Append(frame.ID_PASTE_PLUS, "Paste Plus")
          menu.Append(wx.ID_CLEAR, "Clear")
          
          menu.AppendSeparator()
          
          menu.Append(wx.ID_SELECTALL, "Select All")
          return menu
function_tokens: def GetContextMenu ( self ) : menu = wx . Menu ( ) menu . Append ( wx . ID_UNDO , "Undo" ) menu . Append ( wx . ID_REDO , "Redo" ) menu . AppendSeparator ( ) menu . Append ( wx . ID_CUT , "Cut" ) menu . Append ( wx . ID_COPY , "Copy" ) menu . Append ( frame . ID_COPY_PLUS , "Copy Plus" ) menu . Append ( wx . ID_PASTE , "Paste" ) menu . Append ( frame . ID_PASTE_PLUS , "Paste Plus" ) menu . Append ( wx . ID_CLEAR , "Clear" ) menu . AppendSeparator ( ) menu . Append ( wx . ID_SELECTALL , "Select All" ) return menu